1. 03 Oct, 2014 6 commits
    • Glenn Morris's avatar
      ChangeLog fixes · caafef5d
      Glenn Morris authored
      caafef5d
    • Dmitry Gutov's avatar
      Fix vc-svn-ignore · c799337f
      Dmitry Gutov authored
      * lisp/vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
      (vc-svn-ignore): Use it.
      
      Fixes: debbugs:18619
      c799337f
    • Martin Rudalics's avatar
      Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized. · f63bd04b
      Martin Rudalics authored
      * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
      In doc-string mention need of setting `frame-resize-pixelwise'.
      
      * frames.texi (Frame Commands):
      * cmdargs.texi (Window Size X): Mention the use of
      `frame-resize-pixelwise' to make frames truly fullscreen or
      maximized.
      
      * frames.texi (Size Parameters, Size and Position): Mention that
      with some window managers you have to set
      `frame-resize-pixelwise' in order make a frame truly fullscreen
      or maximized.
      f63bd04b
    • Stefan Monnier's avatar
      New gui-selection-value consolidating x-selection-value. · d6f8fef3
      Stefan Monnier authored
      * lisp/select.el (gui-selection-value-alist): New method.
      (gui-selection-value): New function.
      (x-selection-value): Make it an obsolete alias.
      * lisp/simple.el (interprogram-paste-function): Default to gui-selection-value.
      * lisp/w32-common-fns.el (w32-get-selection-value): Simplify.
      (x-selection-value): Remove alias.
      (interprogram-paste-function): Don't set.
      (gui-selection-value): Define for w32.
      * lisp/term/x-win.el (gui-selection-value): Define for x.
      (x--selection-value): Rename from x--selection-value.
      (interprogram-paste-function): Don't set.
      * lisp/term/pc-win.el (w16-get-selection-value): Simplify.
      (msdos-initialize-window-system): Don't set interprogram-paste-function.
      (gui-selection-value): Define for pc.
      * lisp/term/ns-win.el (x-selection-value): Remove.
      (gui-selection-value): Define for ns, instead.
      * lisp/term/common-win.el (x-setup-function-keys): Don't set
      interprogram-paste-function.
      * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
      Use gui-selection-value.
      d6f8fef3
    • Stefan Monnier's avatar
      * lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp, · f0db3488
      Stefan Monnier authored
      similarly to Roger's 2010-06-12 change for the remote change.
      
      Fixes: debbugs:18605
      f0db3488
    • David Raynes's avatar
      * lisp/term/ns-win.el: Add functions to ns frame, not x frame. · f0da11bd
      David Raynes authored
      Fixes: debbugs:18614
      f0da11bd
  2. 02 Oct, 2014 5 commits
    • Stefan Monnier's avatar
      * lisp/obsolete/lucid.el (read-number): Remove, redundant. · a7f5d04f
      Stefan Monnier authored
      * lisp/obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
      Remove, broken.
      a7f5d04f
    • Stefan Monnier's avatar
      * lisp/frame.el: Use lexical-binding. · 1c142556
      Stefan Monnier authored
      (make-frame): Use t rather than nil for tty's window-system.
      * lisp/startup.el (command-line): Use gui-method.
      
      Fixes: debbugs:18598
      1c142556
    • Stefan Monnier's avatar
      Consolidate management/ownership of selections. · 31300bee
      Stefan Monnier authored
      * lisp/select.el (gui-get-selection-alist): New method.
      (gui-get-selection): Use it.  Rename from x-get-selection.
      (x-get-selection): Define as obsolete alias.
      (x-get-clipboard): Mark obsolete.
      (gui-get-primary-selection): New function.
      (x-get-selection-value): Mark obsolete.
      (gui-own-selection-alist, gui-disown-selection-alist)
      (gui-selection-owner-p-alist): New methods.
      (gui-set-selection): Use them.  Rename from x-set-selection.
      (x-set-selection): Define as obsolete alias.
      (gui--valid-simple-selection-p): Rename from
      x-valid-simple-selection-p.
      * lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection)
      (gui-selection-owner-p, gui-get-selection): Define for w32.
      (w32-get-selection-value): Rename from x-get-selection-value.
      Use the new gui-last-selected-text.
      * lisp/term/x-win.el (x-get-selection-value): Remove.
      (x-clipboard-yank): Declare obsolete.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for x.
      * lisp/term/w32-win.el (w32-win-suspend-error): Rename from
      x-win-suspend-error.
      * lisp/term/pc-win.el (w16-get-selection-value): Rename from
      x-get-selection-value.
      (w16-selection-owner-p): Rename from x-selection-owner-p.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for pc.
      (w16--select-text): New function.
      * lisp/term/ns-win.el (gui-own-selection, gui-disown-selection)
      (gui-get-selection, gui-selection-owner-p): Define for ns.
      * lisp/term.el (term-mouse-paste):
      * lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
      * src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal):
      Rename from the "x-" prefix.
      31300bee
    • Jay Belanger's avatar
      Add missing name to Changelog. · c7c0acd4
      Jay Belanger authored
      c7c0acd4
    • H. Dieter Wilhelm's avatar
      calc/calc-help.el (calc-describe-thing): Quote strings which could · 2f990ea2
      H. Dieter Wilhelm authored
      look like regexps.
      2f990ea2
  3. 01 Oct, 2014 5 commits
    • Glenn Morris's avatar
      * package.el (package-import-keyring): Create gnupg directory private. · c8ea4b9f
      Glenn Morris authored
      See bug#17625#155.
      c8ea4b9f
    • Stefan Monnier's avatar
      Commit forgotten ChangeLog files · 850fe806
      Stefan Monnier authored
      850fe806
    • Stefan Monnier's avatar
      * lisp/subr.el (alist-get): New accessor. · a57fa964
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el (alist-get): Provide expander.
      * lisp/winner.el (winner-remember):
      * lisp/tempo.el (tempo-use-tag-list):
      * lisp/progmodes/gud.el (minor-mode-map-alist):
      * lisp/international/mule-cmds.el (define-char-code-property):
      * lisp/frameset.el (frameset-filter-params):
      * lisp/files.el (dir-locals-set-class-variables):
      * lisp/register.el (get-register, set-register):
      * lisp/calc/calc-yank.el (calc-set-register): Use it.
      * lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
      * lisp/tooltip.el (tooltip-set-param): Mark as obsolete.
      (tooltip-show): Use alist-get instead.
      * lisp/ses.el (ses--alist-get): Remove.  Use alist-get instead.
      * admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get
      and cl-incf.
      a57fa964
    • Ulf Jasper's avatar
      Newsticker: Use libxml instead of `xml-parse-region'. Fix some glitches. Clean up. · 34912c0a
      Ulf Jasper authored
      * lisp/net/newst-backend.el: Remove Time-stamp.  Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--sentinel-work): Move xml-workarounds to function
      `newsticker--do-xml-workarounds', call unless libxml-parser is
      used.  Allow single quote in regexp for encoding.  Use
      libxml-parser if available, else fall back to `xml-parse-region'.
      Take care of possibly missing namespace prefixes (like "RDF"
      instead of "rdf:RDF") when checking xml nodes and attributes (as
      libxml correctly removes the prefixes).  Always use Atom 1.0 as
      fallback feed type.  Rename `newsticker--download-logos' to
      `newsticker-download-logos'
      (newsticker--unxml, newsticker--unxml-node)
      (newsticker--unxml-attribute): New.
      (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
      HTML code has become part of the xml parse tree.
      (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
      of possibly missing namespace prefixes.
      (newsticker--parse-generic-items): Code formatting. Typo.
      (newsticker--images-dir): Add trailing slash.
      (newsticker--image-get): Fix error message.
      
      * lisp/net/newst-plainview.el: Remove Time-stamp.
      
      * lisp/net/newst-reader.el: Remove Time-stamp.
      (newsticker-download-logos): Rename variable
      `newsticker--download-logos' to `newsticker-download-logos' and
      make it customizable.
      (newsticker--print-extra-elements): Add optional parameter
      'htmlish for using html markup.  Amend list of ignored elements.
      (newsticker--do-print-extra-element): Add parameter 'htmlish for
      using html markup.
      
      * lisp/net/newst-ticker.el: Remove Time-stamp.
      
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Use html
      for formatting extra elements.
      
      * lisp/net/newsticker.el:  Remove Time-stamp, Version.
      (newsticker-version): Make obsolete.
      34912c0a
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el (python-shell-completion-get-completions): · 85ee81a0
      Stefan Monnier authored
      Use python-shell--prompt-calculated-input-regexp from the
      process buffer.
      Don't assume that `line' comes from the process buffer.
      
      Fixes: debbugs:18582
      85ee81a0
  4. 30 Sep, 2014 5 commits
  5. 29 Sep, 2014 1 commit
  6. 28 Sep, 2014 1 commit
  7. 27 Sep, 2014 6 commits
    • Stefan Monnier's avatar
      * lisp/epg-config.el (epg-gpg-program): Use the plain program names rather · 5551acd2
      Stefan Monnier authored
      than their absolute file name.
      5551acd2
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package-check-signature): Default to nil if · a5426ef3
      Stefan Monnier authored
      GPG is not available.
      (package-refresh-contents): Don't mess with the keyring if we won't
      check the signatures anyway.
      a5426ef3
    • Stefan Monnier's avatar
      * lisp/subr.el (track-mouse): New macro. · 19e0f0af
      Stefan Monnier authored
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
      Remove track-mouse case.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
      * src/keyboard.c (track-mouse): Rename to internal--track-mouse.
      Make it into a function and change arg to be a function.
      19e0f0af
    • Leo Liu's avatar
      * lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko. · 548e1696
      Leo Liu authored
      * lisp/progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
      548e1696
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match): · 528872c5
      Stefan Monnier authored
      Handle the case where `match' is :pcase--succeed or :pcase--fail.
      
      Fixes: debbugs:18554
      528872c5
    • Stefan Monnier's avatar
      Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. · e6cfa098
      Stefan Monnier authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
      (eldoc-schedule-timer): Obey it.
      (eldoc-documentation-function): Default to nil.
      (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
      (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
      (eldoc-highlight-function-argument, eldoc-get-var-docstring)
      (eldoc-last-data-store, eldoc-docstring-first-line)
      (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
      (eldoc-beginning-of-sexp, eldoc-current-symbol)
      (eldoc-function-argstring): Move to elisp-mode.el.
      (eldoc-symbol-function): Remove, unused.
      * lisp/progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
      (elisp-completion-at-point): Rename from lisp-completion-at-point.
      (elisp--preceding-sexp): Rename from preceding-sexp.
      * lisp/loadup.el: Load new file progmodes/elisp-mode.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
      * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
      (lisp--local-variables-completion-table, lisp--expect-function-p)
      (lisp--form-quoted-p, lisp--company-doc-buffer)
      (lisp--company-doc-string, lisp--company-location)
      (lisp-completion-at-point): Move to elisp-mode.el.
      * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
      extracted from emacs-lisp-mode-syntax-table.
      (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
      elisp-mode.el.
      (lisp-imenu-generic-expression): Add comments to document what comes
      from which Lisp dialect.
      (emacs-lisp-mode-map, emacs-lisp-byte-compile)
      (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
      (emacs-lisp-mode, emacs-list-byte-code-comment-re)
      (emacs-lisp-byte-code-comment)
      (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
      (lisp-interaction-mode-map, lisp-interaction-mode)
      (eval-print-last-sexp, last-sexp-setup-props)
      (last-sexp-toggle-display, prin1-char, preceding-sexp)
      (eval-last-sexp-1, eval-last-sexp-print-value)
      (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
      (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
      * src/lisp.mk (lisp): Add elisp-mode.elc.
      e6cfa098
  8. 26 Sep, 2014 2 commits
    • Paul Eggert's avatar
      * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp. · 56c6a28d
      Paul Eggert authored
      Do not match file names that end in '/', as they cannot be 'grep'
      hits nowadays.  This prevents confusion when 'grep -r' reports a
      match in a file whose basename is ':12345:'.  Conversely, do not
      require exactly the same sequence of spaces and tabs after both
      colons, and allow spaces or tabs before the second colon, as per
      the POSIX spec for 'grep' output.
      56c6a28d
    • Leo Liu's avatar
      Add cl-parse-integer based on parse-integer · 89b354a5
      Leo Liu authored
      * doc/misc/cl.texi (Predicates on Numbers): Document cl-digit-char-p.
      (Numerical Functions): Document cl-parse-integer. 
      
      * lisp/calendar/parse-time.el (parse-time-digits): Remove.
      (digit-char-p, parse-integer) Moved to cl-lib.el.
      (parse-time-tokenize, parse-time-rules, parse-time-string): Use
      cl-parse-integer.
      
      * lisp/emacs-lisp/cl-extra.el (cl-parse-integer): New function.
      
      * lisp/emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
      (cl-digit-char-p): New function.
      
      * test/automated/cl-lib.el (cl-digit-char-p, cl-parse-integer): New
      tests.
      
      Fixes: debbugs:18557
      89b354a5
  9. 25 Sep, 2014 2 commits
  10. 24 Sep, 2014 2 commits
    • Stefan Monnier's avatar
      * lisp/find-cmd.el (find-cmd): Use grep's `find-program'. · 0e176389
      Stefan Monnier authored
      Suggested by <lompik@voila.fr>.
      
      Fixes: debbugs:18518
      0e176389
    • Ulf Jasper's avatar
      Newsticker: Add commands to rearrange treeview groups and document them. (Bug#12560) · 558eb84f
      Ulf Jasper authored
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* newsticker.texi: Reworked.  Document new treeview group
      	commands.  Remove VERSION, UPDATED, use EMACSVER instead.  Use
      	term 'feed reader'.
      
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* automated/newsticker-tests.el
      	(newsticker--group-find-parent-group),
      	(newsticker--group-do-rename-group): New tests.
      
      2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
      
      	* net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
      	Renamed `newsticker--treeview-do-get-node' to
      	`newsticker--treeview-do-get-node-by-id'.
      	(newsticker--treeview-get-node-by-id): Renamed
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      	(newsticker--treeview-get-current-node): Renamed `
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      	(newsticker--treeview-buffer-init)
      	(newsticker--treeview-buffer-init): Disable buffer undo.
      	(newsticker--treeview-unfold-node): Adapted to modified
      	`newsticker--group-find-parent-group'.
      	(newsticker--group-do-find-group): Renamed
      	`newsticker--group-do-find-group-for-feed' to
      	`newsticker--group-do-find-group'.  Now works for both, groups and
      	feeds.
      	(newsticker--group-find-parent-group): Renamed
      	`newsticker--group-find-group-for-feed' to
      	`newsticker--group-find-parent-group'.  Now works for both, groups
      	and feeds.
      	(newsticker--group-do-get-parent-group)
      	(newsticker--group-get-parent-group): Removed.
      	(newsticker-group-add-group): Changed interactive prompts.
      	(newsticker-group-add-group): Finally jump to added group.
      	(newsticker-group-delete-group): Finally jump to current feed.
      	(newsticker--group-do-rename-group, newsticker-group-rename-group)
      	(newsticker--get-group-names, newsticker--group-names): New.
      	(newsticker-group-move-feed): Finally jump to moved feed.
      	(newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
      	(newsticker-group-shift-group-down)
      	(newsticker-group-shift-group-up, newsticker--group-shift): New
      	(newsticker--group-manage-orphan-feeds): Renamed
      	`newsticker--group-find-group-for-feed' to
      	`newsticker--group-find-parent-group'.
      	(newsticker-treeview-mode-map): New keybindings for new shift commands.
      	(newsticker-treeview-tree-do-click): Renamed
      	`newsticker--treeview-get-node' to
      	`newsticker--treeview-get-node-by-id'.
      
      	* net/newst-backend.el (newsticker--item-list)
      	(newsticker--item-position, newsticker--prev-message)
      	(newsticker--scrollable-text): Moved to newst-ticker.el.
      
      	* net/newst-ticker.el (newsticker--item-list)
      	(newsticker--item-position, newsticker--prev-message)
      	(newsticker--scrollable-text): Moved from newst-backend.el.
      558eb84f
  11. 22 Sep, 2014 5 commits