1. 23 Nov, 2014 2 commits
  2. 19 Nov, 2014 2 commits
  3. 18 Nov, 2014 1 commit
  4. 17 Nov, 2014 5 commits
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-foreach-region-function' variable · 1901029f
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-foreach-region-function): New
      variable specifying a function determining portions of buffer that
      should be tildified.  It allows major modes to create a filtering
      function more elaborate than a set of regular expressions.
      Initialised to `tildify--deprecated-ignore-evironments' by default
      to handle now deprecated `tildify-ignored-environments-alist'
      variable.
      (tildify--foreach-region): A new function that takes
      `tildify-foreach-region-function' into account and calls callback
      for regions of the buffer that should be tildified.
      (tildify-foreach-ignore-environments): A new function which can be
      partially applied and used as `tildify-foreach-region-function'.
      (tildify-ignored-environments-alist, tildify--pick-alist-entry):
      Mark as obsolete.
      (tildify--find-env): Rename from `tildify-find-env' and mark as
      obsolete.
      (tildify--deprecated-ignore-evironments): New function,
      immediately marked as obsolete, used to handle deprecated
      `tildify-ignored-environments-alist'.
      
      * textmodes/tex-mode.el (tex-common-initialization): Set
      `tildify-foreach-region-function' variable in all variants of TeX
      mode since `tildify-ignored-environments-alist' variable is now
      empty by default.
      
      * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
      
      * textmodes/sgml-mode.el (sgml-mode): Ditto in `sgml-mode'.
      1901029f
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-pattern' variable · d5ec102b
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-pattern): New variable for
      defining tildifying pattern.  Being a buffer-local variable it is
      much easier to handle than `tildify-pattern-alist' that has been
      used so far.  It also works better with derived modes.
      (tildify-pattern-alist): Mark as obsolete.
      d5ec102b
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-space-string' variable · b8104090
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-space-string): New variable for
      specifying representation of a hard space -- a no-break space by
      default.  Being a buffer-local variable it is much easier to
      handle than `tildify-string-alist' that has been used so far.  It
      also works better with derived modes.
      (tildify-string-alist): Mark as obsolete.
      
      * textmodes/tex-mode.el (tex-common-initialization): Set
      `tildify-space-string' variable in all variants of TeX mode since
      `tildify-string-alist' is now empty by default.
      
      * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.  If
      encoding supports it use no-break space instead of character
      entity; this changes previous default which used a numeric
      reference.
      
      * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.  If
      encoding does not support no-break space, use numeric reference;
      this changes previous default which used named entity (“ ”)
      in HTML mode.
      b8104090
    • Lars Magne Ingebrigtsen's avatar
    • Paul Eggert's avatar
      Improve time stamp handling, and be more consistent about it. · 0921dbc3
      Paul Eggert authored
      This implements a suggestion made in:
      http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
      Among other things, this means timer.el no longer needs to
      autoload the time-date module.
      * doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
      (Processor Run Time, Time Calculations):
      Document the new behavior, plus be clearer about the old behavior.
      (Idle Timers): Take advantage of new functionality.
      * etc/NEWS: Document the changes.
      * lisp/allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
      * lisp/arc-mode.el (archive-ar-summarize):
      * lisp/calendar/time-date.el (seconds-to-time, days-to-time, time-since):
      * lisp/emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
      (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
      * lisp/net/tramp.el (tramp-time-less-p, tramp-time-subtract):
      * lisp/proced.el (proced-time-lessp):
      * lisp/timezone.el (timezone-time-from-absolute):
      * lisp/type-break.el (type-break-schedule, type-break-time-sum):
      Simplify by using new functionality.
      * lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
      Do not return time values in obsolete and undocumented (HI . LO)
      format; use (HI LO) instead.
      * lisp/calendar/time-date.el (with-decoded-time-value):
      Treat 'nil' as current time.  This is mostly for XEmacs.
      (encode-time-value, with-decoded-time-value): Obsolete.
      (time-add, time-subtract, time-less-p): Use no-op autoloads, for
      XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
      * lisp/ldefs-boot.el: Update to match new time-date.el
      * lisp/proced.el: Do not require time-date.
      * src/editfns.c (invalid_time): New function.
      Use it instead of 'error ("Invalid time specification")'.
      (time_add, time_subtract, time_arith, Ftime_add, Ftime_less_p)
      (decode_float_time, lisp_to_timespec, lisp_time_struct):
      New functions.
      (make_time_tail, make_time): Remove.  All uses changed to use
      new functions or plain list4i.
      (disassemble_lisp_time): Return effective length if successful.
      Check that LOW is an integer, if it's combined with other components.
      (decode_time_components): Decode into struct lisp_time, not
      struct timespec, so that we can support a wide set of times
      regardless of whether time_t is signed.  Decode plain numbers
      as seconds since the Epoch, and nil as the current time.
      (lisp_time_argument, lisp_seconds_argument, Ffloat_time):
      Reimplement in terms of new functions.
      (Fencode_time): Just use list2i.
      (syms_of_editfns): Add time-add, time-subtract, time-less-p.
      * src/keyboard.c (decode_timer): Don't allow the new formats (floating
      point or nil) in timers.
      * src/systime.h (LO_TIME_BITS): New constant.  Use it everywhere in
      place of the magic number '16'.
      (struct lisp_time): New type.
      (decode_time_components): Use it.
      (lisp_to_timespec): New decl.
      0921dbc3
  5. 16 Nov, 2014 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Implement an `inhibit-read-only' text property · d1b04a9e
      Lars Magne Ingebrigtsen authored
      * doc/lispref/text.texi (Special Properties): Mention `inhibit-read-only'.
      
      * src/buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if
      the text at POSITION (new optional argument) has the
      `inhibit-read-only' text property set.
      
      * src/callint.c (Fcall_interactively): Pass in nil as argument to
      Fbarf_if_buffer_read_only.
      
      * src/fileio.c (Finsert_file_contents): Ditto.
      
      * src/insdel.c (prepare_to_modify_buffer_1): Pass start region in.
      
      * src/intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only'
      text property.
      
      * src/textprop.c (verify_interval_modification): Check buffer
      readedness after the last interval.
      d1b04a9e
  6. 14 Nov, 2014 1 commit
  7. 13 Nov, 2014 3 commits
  8. 11 Nov, 2014 2 commits
    • Eric S. Raymond's avatar
      Git transition patch · ac03795d
      Eric S. Raymond authored
      All bzr revision IDS, and all CVS revision IDs for which a commit
      could be identified, were changed to time-date!committer version
      stamps. All .cvsignore files in the history became .gitignore files.
      Fixes-bug annotations from bzr were copied into the corresponding
      commit comments.
      
      (The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
      The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)
      
      Committer/author email addresses are generally correct for the
      transition day, not necessarily when the commit was originally made.
      ac03795d
    • Eric S. Raymond's avatar
      Git transition patch · 7148318a
      Eric S. Raymond authored
      All bzr revision IDS, and all CVS revision IDs for which a commit
      could be identified, were changed to time-date!committer version
      stamps. All .cvsignore files in the history became .gitignore files.
      Fixes-bug annotations from bzr were copied into the corresponding
      commit comments.
      
      (The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
      The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)
      
      Committer/author email addresses are generally correct for the
      transition day, not necessarily when the commit was originally made.
      7148318a
  9. 10 Nov, 2014 4 commits
    • Lars Magne Ingebrigtsen's avatar
      Allow using several eww buffers (bug#16211) · 14fe3679
      Lars Magne Ingebrigtsen authored
      * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
      Allow taking a buffer to render data in.  This allows using several
      eww buffers (bug#16211).
      14fe3679
    • Stefan Monnier's avatar
      * lisp/help.el (view-lossage): Include the actual commands run. · eca1ea96
      Stefan Monnier authored
      * src/keyboard.c (command_loop_1): Record this-command in recent-keys.
      (Frecent_keys): Rewrite. and add optional `include-cmds' arg.
      eca1ea96
    • Glenn Morris's avatar
      Stop keeping etc/refcards/emacsver.tex in the repository · 4e65e7e2
      Glenn Morris authored
      * configure.ac (etc/refcards/emacsver.tex): Generate it.
      
      * Makefile.in (etc-emacsver): New PHONY rule.
      (bootstrap-clean): Delete etc/refcards/emacsver.tex.
      
      * admin/admin.el (set-version): No need to update etc/refcards/emacsver.tex.
      (set-copyright): Update etc/refcards/emacsver.tex.in.
      
      * etc/refcards/emacsver.tex.in: Rename from emacsver.tex.
      
      * .bzrignore: Add etc/refcards/emacsver.tex.
      4e65e7e2
    • David Engster's avatar
      Update from CEDET trunk. · 5d4da32d
      David Engster authored
      * grammars/c.by (template-type): Add :template-specifier and
      :typevar to capture extra details about the template.
      (opt-post-fcn-modifiers): Splice in the found symbol into the
      return value correctly.
      (QUESTION): New punctuation.
      (expression): Add ternary conditional support.
      
      * grammars/scheme.by (MODULE): New token.
      (scheme): Handle expanding the MODULE tag.
      (scheme-list): Remove closeparen required match.
      (scheme-in-list): Remove extraneous matches for DEFINE.  Add
      support for MODULE Simplify matching for code & make work.
      (name-args, name-arg-list, name-arg-expand): Make it work.
      
      * semantic.el (semantic-mode): Add/remove 3
      completion-at-point-functions.
      (semantic-completion-at-point-function): Removed.
      (semantic-analyze-completion-at-point-function)
      (semantic-analyze-notc-completion-at-point-function)
      (semantic-analyze-nolongprefix-completion-at-point-function): New
      completion at point functions.
      
      * semantic/doc.el (semantic-doc-snarf-comment-for-tag): Fix case
      when comment-end is empty string.
      
      * semantic/debug.el
      (semantic-debug-parser-debugger-source): New buffer local
      variable.
      (semantic-debug-interface): Add 'nil' initform to overlays.
      (semantic-debug-mode): Remove read-only tags from buffers on exit.
      (semantic-debug): Add autoload cookie.  Force the language
      specific debugger to load.
      
      * semantic/db.el (generic::semanticdb-full-filename): New generic
      method to allow this method to be used on buffer names via an
      associated database.
      
      * semantic/symref.el
      (semantic-symref-cleanup-recent-buffers-fcn): When cleaning up
      buffers, don't clean up buffers that are being used (i.e., in a
      window) when the hook fires.
      (semantic-symref-recently-opened-buffers): New tracking variable.
      (semantic-symref-cleanup-recent-buffers-fcn): New hook fcn.
      (semantic-symref-result-get-tags): Move logic into
      `semantic-symref-hit-to-tag-via-buffer', and cleanup buffers via
      the symref cleanup function in post-command-hook.
      (semantic-symref-hit-to-tag-via-buffer): Logic that used to be
      from above.
      (semantic-symref-hit-to-tag-via-db): New.
      
      * semantic/analyze.el:
      (semantic-analyze-find-tag-sequence-default): If first entry in
      sequence is the only one, apply tagclass filter.
      (semantic-analyze-princ-sequence): Show slot even if empty.
      (semantic-analyze-find-tag-sequence)
      (semantic-analyze-find-tag-sequence-default): Add flags argument.
      Add support for forcing the final entry of the sequence to be of
      class variable.
      (semantic-analyze-find-tag): Fix bug where input class filter was
      ignored if there was a typecache match.
      (semantic-analyze-current-context-default): For assignments, the
      assignee now must be of class variable.
      
      * semantic/analyze/complete.el
      (semantic-analyze-possible-completions-default): Add
      'no-longprefix' flag.  When used, the prefix and prefixtypes are
      shortened to just the last symbol.
      
      * semantic/bovine/c.el (semantic-c-do-lex-if): Catch errors from
      'hideif', and push to the parser warning stack.
      (semantic-lex-cpp-define): When a comment is at the end of a
      macro, do not subtract an extra 1 from the found position.  Fixes
      bug with: #define foo (a)/**/ adding an extra ')' to the stream.
      
      * semantic/bovine/scm.el (semantic-lex-scheme-symbol): Allow
      symbols to be one char long.
      
      * semantic/bovine/grammar.el
      (bovine-grammar-calculate-source-on-path): New.
      (bovine-grammar-setupcode-builder): Use it.
      
      * ede.el (ede/detect): New require.
      (ede-version): Bump version
      (ede-initialize-state-current-buffer): Use new
      `ede-detect-directory-for-project' to detect projects first
      instead of depending on currente dir only.
      (ede-delete-project-from-global-list): New.
      (ede-flush-deleted-projects): Use above.
      (ede-check-project-query-fcn): New variable
      (ede-check-project-directory): Use above when querying the user.
      Added to support unit testing of this security measure.
      (ede-initialize-state-current-buffer): Use
      `ede-directory-project-cons' instead of the -detect- fcn to take
      advantage of the cache.  Pass found project into
      `ede-load-project-file'.
      (ede-load-project-file): Add new input DETECTIN.
      (ede-rescan-toplevel): Get the proj root a better way.
      (ede-load-project-file): Return the loaded object.  When asking
      for existing project, ask for an exact match.
      (ede-initialize-state-current-buffer): Simplify some conditional
      logic.
      (ede-load-project-file): Simplify conditional logic.
      (ede-global-list-sanity-check): New Testing fcn.
      (ede-parent-project): Replace old code with call to faster
      `ede-find-subproject-for-directory'.
      (ede-load-project-file): Use
      `ede-directory-get-toplevel-open-project' instead of above
      deleted.  Rename "pfc" to "autoloader".  Use
      `ede-directory-project-cons' to detect a project.  Delete no
      project found case where we search up the tree.
      
      * ede/auto.el (ede-project-autoload): Fix doc typo.  Add
      `:root-only' slot.
      (ede-auto-load-project): Doc update: warn to not use.
      (ede-dir-to-projectfile): Deleted.
      (ede-project-autoload-dirmatch): Add subdir-only slot.  Make
      configdatastash unbound by default.
      (ede-do-dirmatch): If subdir-only is true, then don't allow exact
      matches.  Account for configdatastash as unbound.  Assume value of
      nil means no tool installed.  Make sure loaded path matches from
      beginning.  Stash the regexp, not the raw string.
      (ede-project-class-files): Note that makefile and automake are not
      root only.
      (ede-auto-detect-in-dir): New (for use with `ede/detect.el').
      (ede-project-dirmatch-p): Deleted.
      (ede-project-root-directory): Remove body, return nil.
      (ede-project-autoload): :proj-root-dirmatch can be null & doc fix.
      (ede-auto-detect-in-dir): If there is no :proj-file, check for a
      dirmatch.
      
      * ede/generic.el (ede/config): Replace require of ede.
      (ede-generic-new-autoloader): Generic projects are now safe by
      default.  Note this is NOT a root only project.
      (project-rescan, ede-project-root, ede-generic-target-java)
      (ede-java-classpath, ede-find-subproject-for-directory): New.
      (ede-enable-generic-projects): Add new autoloaders for git, bzr,
      hg, sv, CVS.
      (ede-generic-vc-project)
      (ede-generic-vc-project::ede-generic-setup-configuration): New.
      (ede-generic-config): Remove slots: c-include-path,
      c-preprocessor-table, c-preprocessor-files, classpath,
      build-command, debug-command, run command.  Inherit from
      ede-extra-config-build, ede-extra-config-program.  Make
      run-command :value match :custom so only strings are accepted.
      Add some more :group slot specifiers.
      (ede-generic-project): Add mixins `ede-project-with-config-c' and
      `ede-project-with-config-java'. Inherit from
      `ede-project-with-config-build',
      `ede-project-with-config-program'.  Subclass
      `ede-project-with-config'.  Remove duplication from new baseclass.
      (ede-generic-target): Inherit from `ede-target-with-config-build',
      `ede-target-with-config-program'. Subclass `ede-target-with-config'.
      (ede-generic-target-c-cpp): Add mixin `ede-target-with-config-c'.
      (ede-generic-target-java): Add mixin `ede-target-with-config-java'.
      (ede-preprocessor-map, ede-system-include-path)
      (edejava-classpath): Deleted, moved to config.el.
      (project-compile-project, project-compile-target)
      (project-debug-target, project-run-target): Deleted.
      (ede-generic-get-configuration, ede-generic-setup-configuration)
      (ede-commit-project, project-rescan)
      (ede-generic-project::ede-customize)
      (ede-generic-target::ede-customize)
      (ede-generic-config::eieio-done-customizing)
      (ede-generic-config::ede-commit): Deleted.  Subsumed by new
      baseclass.
      (ede-preprocessor-map, ede-system-include-path)
      (project-debug-target, project-run-target): Call new
      `ede-config-get-configuration' instead of old version.
      (ede-generic-load): Do not add to global list here.
      
      * ede/files.el (ede-find-project-root)
      (ede-files-find-existing)
      (ede-directory-get-toplevel-open-project-new): Deleted.
      (ede-project-root-directory): Use `ede-project-root' first.
      (ede-project-directory-remove-hash)
      (ede--directory-project-from-hash)
      (ede--directory-project-add-description-to-hash): Rename to make
      internal symbols (via --).  Expand input dir first.
      (ede-directory-project-p): Doc fix (note obsoleted.)
      (ede-toplevel-project-or-nil): Alias to `ede-toplevel-project'.
      (ede-toplevel-project): Doc Fix.  Delete commented out old code.
      Simplify returning result from ede-detect-directory-for-project.
      (ede-directory-get-open-project): Support when
      inodes are disabled.  If disabled to str compare on root project.
      (ede-directory-get-toplevel-open-project): Enabled nested
      projects.  When doing directory name matching, save the 'short'
      version of an answer (non-exact match) and eventually select the
      shortest answer at the end.  Expand the filename of tested
      projects.  Better support for when inodes are disabled.  Add
      'exact' option so that it will return a project that is an exact
      match.
      (ede-find-subproject-for-directory): Small optimization to run
      `file-truename' less often.
      (ede-directory-project-p): Move content, then use
      `ede-directory-project-cons'.  Use
      `ede-detect-directory-for-project', replacing old detection loop.
      (ede-directory-project-cons): New, from above.
      (ede-toplevel-project): Toss old scanning code.  Use
      `ede-detect-directory-for-project' instead.
      (ede-directory-get-toplevel-open-project-new): New.
      
      * ede/linux.el (ede-linux-project-root): Deleted.
      (ede-project-autoload): Remove dirmatch entry - it is no longer
      needed.
      
      * lisp/cedet/ede/proj.el (project-rescan): Replace direct
      manipulation of `ede-projects' with equivalent and better
      functions.
      (ede-proj-load): Replace call to test if dir has project to
      explicity ask filesystem if Project.ede is there.
      
      * ede/config.el:
      * ede/detect.el: New files.
      
      * ede/project-am.el (project-run-target): Add "./" to program to
      run for systems where '.' isn't in PATH.
      (project-am-load): Remove old code regarding `ede-constructing'.
      Just read in the makefiles.
      
      * ede/linux.el (ede-linux-load): Do not add to global list here.
      Don't check for existing anymore.
      (project-rescan): New.
      (ede-linux-project-list, ede-linux-file-existing): Deleted.
      (ede-linux-project-root): Delete body.  Need symbol for autoloads
      for now.
      (ede-linux-project): No longer instance tracker.
      (ede-project-autoload): Don't provide :proj-root
      
      * ede/emacs.el (ede-emacs-load): Do not add project to global list
      here.  Don't look for existing first.
      (ede-project-autoload): Remove dirmatch entry - it is no longer
      needed.  Don't provide proj-root anymore.
      (ede-emacs-project-list, ede-emacs-file-existing): Delete.
      (ede-emacs-project-root): Remove body (need symbol for loaddefs
      still).
      (ede-emacs-project): Do not instance track anymore.
      
      * ede/cpp-root.el (initialize-instance): Remove commented code.
      Add note about why we are adding the project to the master list.
      Make sure if we are replacing a prev version, remove from global
      list.
      (ede-cpp-root-file-existing)
      (ede-cpp-root-project-file-for-dir)
      (ede-cpp-root-count, ede-cpp-root-project-root, ede-cpp-root-load)
      (ede-project-autoload cpp-root): Deleted.
      (ede-project-root-directory): Return :directory instead of
      calculating from :file.
      (project-rescan): New.
      
      * ede/base.el (ede-toplevel): Only use buffer cached value if
      subproj not passed in.
      
      * srecode/java.el (srecode-semantic-handle-:java): Fix case when
      an EDE project didn't support java paths.
      
      * lisp/cedet/ede/proj-elisp.el
      (ede-proj-target-elisp::ede-proj-tweak-autoconf): Kill buffer
      after saving modified elisp-comp script, as to avoid "file has
      changed on disk; really edit the buffer" questions when script
      gets rewritten.
      
      * emacs-lisp/eieio-custom.el (eieio-customize-object): Set
      eieio-cog (current group) to g, which is an improved form of input
      group.
      
      * srecode/doc-cpp.srt (mode): Set to c mode so this works with
      both C and C++.
      5d4da32d
  10. 09 Nov, 2014 1 commit
  11. 08 Nov, 2014 1 commit
  12. 05 Nov, 2014 2 commits
  13. 03 Nov, 2014 3 commits
  14. 31 Oct, 2014 2 commits
  15. 30 Oct, 2014 2 commits
  16. 29 Oct, 2014 1 commit
  17. 22 Oct, 2014 2 commits
  18. 21 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Get rid of backend-dependent selection-handling functions for kill/yank · a046b8dd
      Stefan Monnier authored
      and make it generic instead by relying on the lower-level selection
      management functions.
      
      * select.el (select-enable-clipboard): Rename from
      gui-select-enable-clipboard.
      (select-enable-primary): Move from x-win.el and rename from
      x-select-enable-primary.
      (gui-last-selected-text): Remove.
      (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
      New vars.
      (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
      (gui-select-text-alist, gui-selection-value-alist): Remove.
      (x-select-request-type): Move from x-win.el.
      (gui--selection-value-internal): New function, taken from x-win's
      x-selection-value-internal.
      (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
      (gui-set-selection-alist): Rename from gui-own-selection-alist and
      extend it to handle a nil value as a "disown" request.
      (gui-disown-selection-alist): Remove.
      (xselect-convert-to-delete): Adjust accordingly.
      (gui-set-selection): Simplify accordingly as well.  Use dotimes.
      
      * lisp/frame.el (gui-method): Use window-system rather than framep.
      (gui-method-declare): The tty case is now nil rather than t.
      (make-frame): Adjust accordingly.
      
      * lisp/term/x-win.el (x-last-selected-text-primary)
      (x-select-enable-primary): Remove (moved to select.el).
      (x-select-request-type): Move to select.el.
      (x-selection-value-internal, x--selection-value): Remove functions.
      (gui-selection-value, gui-select-text): Remove moethods.
      (gui-set-selection): Merge own and disown methods.
      
      * lisp/startup.el (command-line): Adjust now that `gui-method' expects nil
      for ttys.
      
      * lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
      (ns-selection-value): Remove functions.
      (gui-select-text, gui-selection-value): Don't define method any more.
      (gui-set-selection): Merge the old own and disown methods.
      (gui-selection-exists-p, gui-get-selection): Adjust to new name of
      underlying C primitive.
      
      * lisp/term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
      test of gui-select-enable-clipboard, to make it usable as
      a gui-get-selection method.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      (gui-set-selection): Merge own and disown methods.
      (gui-select-text, gui-selection-value): Delete methods.
      (w16--select-text): Delete function.
      
      * lisp/term/w32-win.el (w32--select-text, w32--get-selection-value):
      Delete function (move functionality into w32--set-selection and
      w32--get-selection).
      (gui-select-text, gui-selection-value): Don't define methods.
      (w32--set-selection, w32--get-selection, w32--selection-owner-p):
      New functions.
      (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
      Use them.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      
      * src/nsselect.m (ns_get_local_selection): Signal error rather than `quit'.
      (Fns_own_selection_internal): Tighten scoping.
      (Fns_selection_exists_p): Rename from Fx_selection_exists_p.
      (Fns_get_selection): Rename from Fx_get_selection_internal.
      (Fns_get_selection_internal, Fns_store_selection_internal):
      Remove functions.
      (syms_of_nsselect): Adjust accordingly.
      
      * src/w16select.c (Fw16_selection_exists_p): Rename from
      Fx_selection_exists_p.
      (syms_of_win16select): Adjust accordingly.
      
      * src/w32select.c (Fw32_selection_exists_p): Rename from
      Fx_selection_exists_p.
      (syms_of_w32select): Adjust accordingly.
      a046b8dd
  19. 20 Oct, 2014 4 commits