1. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  2. 25 Jul, 2017 1 commit
  3. 01 Jan, 2017 1 commit
  4. 01 Jan, 2016 1 commit
  5. 21 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Don't quote symbols 'like-this' in docstrings etc. · 760701eb
      Paul Eggert authored
      * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
      * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
      * lisp/allout.el (allout-add-resumptions, allout-mode):
      * lisp/calculator.el (calculator-operators):
      * lisp/cedet/data-debug.el (dd-propertize):
      * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
      * lisp/cedet/semantic/analyze/debug.el:
      (semantic-analyzer-debug-global-miss-text):
      * lisp/cedet/semantic/lex-spp.el:
      (semantic-lex-spp-replace-or-symbol-or-keyword):
      * lisp/cedet/semantic/symref.el:
      (semantic-symref-cleanup-recent-buffers-fcn):
      * lisp/cedet/semantic/tag.el (semantic-tag-class):
      * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
      * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
      * lisp/gnus/pop3.el (pop3-authentication-scheme):
      * lisp/help-fns.el (describe-function-orig-buffer):
      * lisp/imenu.el (imenu--history-list):
      * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
      (feedmail-display-full-frame, feedmail-deduce-bcc-where)
      (feedmail-queue-default-file-slug)
      (feedmail-queue-buffer-file-name):
      * lisp/net/mairix.el (mairix-searches-mode-map):
      * lisp/net/newst-backend.el (newsticker-retrieval-method)
      (newsticker-auto-mark-filter-list):
      * lisp/obsolete/vi.el (vi-mode):
      * lisp/progmodes/cc-engine.el (c-literal-type):
      * lisp/progmodes/cpp.el (cpp-face):
      * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
      * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
      * lisp/progmodes/pascal.el (pascal-auto-lineup):
      * lisp/progmodes/prog-mode.el (prog-widen):
      * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
      (verilog-auto-lineup, verilog-auto-reset-widths)
      (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
      * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
      (flyspell-maybe-correct-doubling):
      * lisp/textmodes/table.el (table-justify, table-justify-cell)
      (table-justify-row, table-justify-column, table-insert-sequence)
      (table--justify-cell-contents):
      * lisp/url/url-auth.el (url-get-authentication):
      * lisp/window.el (display-buffer-record-window):
      * lisp/xml.el (xml-parse-file, xml-parse-region):
      * src/gfilenotify.c (Fgfile_add_watch):
      Don't quote symbols with apostrophes in doc strings.
      Use asymmetric quotes instead.
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      Likewise for symbol in diagnostic.
      * lisp/image.el (image-extension-data):
      * lisp/register.el (frame-configuration-to-register):
      * src/buffer.c (syms_of_buffer):
      Remove bogus apostrophes after symbols.
      * lisp/thumbs.el (thumbs-conversion-program):
      Quote Lisp string values using double-quotes, not apostrophes.
      760701eb
  6. 18 Feb, 2015 2 commits
    • Kelly Dean's avatar
      Push mark before goto-char in jump-to-register and check-parens · b1d6ddd4
      Kelly Dean authored
      * register.el (jump-to-register):
      * emacs-lisp/lisp.el (check-parens):
      Push mark before goto-char so user doesn't lose his previous place.
      b1d6ddd4
    • Kelly Dean's avatar
      Use user-error where error is inappropriate · 72f7eded
      Kelly Dean authored
      * help-mode.el (help-go-back, help-go-forward, help-follow):
      * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
      * winner.el (winner-redo):
      * windmove.el (windmove-do-window-select):
      * register.el (jump-to-register, increment-register, insert-register)
      (append-to-register, prepend-to-register):
      * files.el (find-alternate-file, abort-if-file-too-large, write-file)
      (set-visited-file-name):
      * emacs-lisp/lisp.el (kill-backward-up-list):
      Use user-error instead of error. (Bug#14480)
      72f7eded
  7. 01 Jan, 2015 2 commits
  8. 18 Dec, 2014 1 commit
    • Martin Rudalics's avatar
      Add code for "preserving" window sizes. · 47f730e3
      Martin Rudalics authored
      * frame.c (frame_windows_min_size): New argument IGNORE.
      (adjust_frame_size): When called from change_frame_size call
      frame_windows_min_size with IGNORE Qt so we can ignore size
      restrictions.
      
      * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
      `preserve-size' t.
      (dired-mark-pop-up): Preserve size of window showing marked
      files.
      * electric.el (Electric-pop-up-window):
      * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
      with `preserve-size' t.
      * minibuffer.el (minibuffer-completion-help): Use
      `resize-temp-buffer-window' instead of `fit-window-to-buffer'
      (Bug#19355).  Preserve size of completions window.
      * register.el (register-preview): Preserve size of register
      preview window.
      * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
      with `preserve-size' t (Bug#1291).
      * window.el (with-displayed-buffer-window): Add calls to
      `window-preserve-size'.
      (window-min-pixel-size, window--preservable-size)
      (window-preserve-size, window-preserved-size)
      (window--preserve-size, window--min-size-ignore-p): New
      functions.
      (window-min-size, window-min-delta, window--resizable)
      (window--resize-this-window, split-window-below)
      (split-window-right): Amend doc-string.
      (adjust-window-trailing-edge): Handle preserving window
      sizes.  Signal user-error instead of an error when there's no
      window above or below.
      (window--min-size-1, window-sizable, window--size-fixed-1)
      (window-size-fixed-p, window--min-delta-1)
      (frame-windows-min-size, window--max-delta-1, window-resize)
      (window--resize-child-windows, window--resize-siblings)
      (enlarge-window, shrink-window, split-window): Handle preserving
      window sizes.
      (window--state-put-2): Handle horizontal scroll bars.
      (window--display-buffer): Call `preserve-size' if asked for.
      (display-buffer): Mention `preserve-size' alist member in
      doc-string.
      (fit-window-to-buffer): New argument PRESERVE-SIZE.
      47f730e3
  9. 01 Oct, 2014 1 commit
    • 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
  10. 14 Sep, 2014 1 commit
  11. 03 Jun, 2014 1 commit
  12. 27 May, 2014 1 commit
  13. 16 Mar, 2014 1 commit
    • Martin Rudalics's avatar
      Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007). · b92631bf
      Martin Rudalics authored
      * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
      current (Bug#16816, Bug#17007).
      (with-current-buffer-window): New macro doing the same as
      `with-temp-buffer-window' but with BUFFER-OR-NAME current.
      * help.el (help-print-return-message): Warn in doc-string to not
      use this in `with-help-window'.
      (describe-bindings-internal): Call `describe-buffer-bindings'
      from within help buffer.  See Juanma's scenario in (Bug#16816).
      (with-help-window): Update doc-string.
      * dired.el (dired-mark-pop-up):
      * files.el (save-buffers-kill-emacs):
      * register.el (register-preview): Use `with-current-buffer-window'
      instead of `with-temp-buffer-window'.
      * display.texi (Temporary Displays): Rewrite descriptions of
      `with-output-to-temp-buffer' and `with-temp-buffer-window'.
      * help.texi (Help Functions): Rewrite description of
      `with-help-window'.
      b92631bf
  14. 12 Mar, 2014 1 commit
  15. 22 Feb, 2014 1 commit
  16. 10 Feb, 2014 1 commit
  17. 03 Feb, 2014 2 commits
    • Glenn Morris's avatar
      Tidy up some -to-register function argument specs · 7bcbca40
      Glenn Morris authored
      * lisp/register.el (window-configuration-to-register)
      (frame-configuration-to-register): Unadvertise unused argument.
      
      * lisp/frameset.el (frameset-to-register): Remove unused argument.
      7bcbca40
    • Glenn Morris's avatar
      Be more consistent in using register-read-with-preview to read registers · 6a6b8e40
      Glenn Morris authored
      * frameset.el (frameset-to-register):
      * kmacro.el (kmacro-to-register):
      * register.el (increment-register):
      * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
      (calc-append-to-register, calc-prepend-to-register):
      * play/gametree.el (gametree-layout-to-register)
      (gametree-apply-register-layout):
      * textmodes/picture.el (picture-clear-rectangle-to-register)
      (picture-yank-rectangle-from-register):
      * vc/emerge.el (emerge-combine-versions-register):
      Use register-read-with-preview to read registers.
      
      * cedet/semantic/senator.el (senator-copy-tag-to-register):
      Use register-read-with-preview, if available.
      
      * calculator.el, emulation/viper-cmd.el: Comments.
      6a6b8e40
  18. 02 Feb, 2014 2 commits
    • Glenn Morris's avatar
      register.el doc fixes · 4472a196
      Glenn Morris authored
      * lisp/register.el (register-read-with-preview, point-to-register)
      (window-configuration-to-register, frame-configuration-to-register)
      (jump-to-register, number-to-register, view-register, insert-register)
      (copy-to-register, append-to-register, prepend-to-register)
      (copy-rectangle-to-register): Doc fixes.
      4472a196
    • Glenn Morris's avatar
      register preview fixes · 7c324762
      Glenn Morris authored
      * doc/emacs/regs.texi (Registers): Mention previewing.
      
      * lisp/register.el (register-preview-default): New function,
      split from register-preview.
      (register-preview-function): Rename from register-preview-functions,
      make it not a hook.
      (register-preview): Use register-preview-function.
      (register-read-with-preview): Error on non-character event. 
      
      * etc/NEWS: Related markup.
      
      Fixes: debbugs:16595
      7c324762
  19. 31 Jan, 2014 1 commit
  20. 01 Jan, 2014 1 commit
  21. 28 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Add missing custom :versions, plus small fixes · bb098075
      Glenn Morris authored
      * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
      
      * bookmark.el (bookmark-bmenu-use-header-line):
      * doc-view.el (doc-view-scale-internally):
      * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
      * register.el (register-preview-delay):
      * net/shr.el (shr-bullet):
      * progmodes/cfengine.el (cfengine-cf-promises)
      (cfengine-parameters-indent):
      * progmodes/octave.el (inferior-octave-error-regexp-alist):
      * textmodes/reftex-vars.el (reftex-label-regexps):
      * vc/log-edit.el (log-edit-setup-add-author): Add version.
      
      * cedet/ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default): Fix custom types.  Add version.
      
      * gnus/gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar):
      * gnus/gnus-sum.el (gnus-subthread-sort-functions): Add version.
      * gnus/gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.
      bb098075
  22. 17 Dec, 2013 1 commit
  23. 08 Dec, 2013 1 commit
  24. 08 Oct, 2013 1 commit
  25. 07 Oct, 2013 2 commits
    • Leo Liu's avatar
      c8af480d
    • Leo Liu's avatar
      * register.el (register-preview-delay) · 85698d63
      Leo Liu authored
      (register-preview-functions): New variables.
      (register-read-with-preview, register-preview)
      (register-describe-oneline): New functions.
      (point-to-register, window-configuration-to-register)
      (frame-configuration-to-register, jump-to-register)
      (number-to-register, view-register, insert-register)
      (copy-to-register, append-to-register, prepend-to-register)
      (copy-rectangle-to-register): Use register-read-with-preview to
      read register.
      
      Fixes: debbugs:15525
      85698d63
  26. 09 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      Move frameset-to-register stuff from register.el to frameset.el. · 77187e6f
      Juanma Barranquero authored
      lisp/register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
      (frameset-restore, frameset-save, frameset-session-filter-alist):
      Remove declarations.
      (register-alist): Doc fix.
      (frameset-to-register): Move to frameset.el.
      (jump-to-register, describe-register-1): Remove frameset-specific code.
      
      lisp/frameset.el (frameset-p): Add autoload cookie.
      (frameset--jump-to-register): New function, based on code moved from
      register.el.
      (frameset-to-register): Move from register.el.  Adapt to `registerv'.
      77187e6f
  27. 08 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      * lisp/bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register. · 2805a651
      Juanma Barranquero authored
      * lisp/register.el: Add support for framesets.
        (frameset-frame-id, frameset-frame-with-id)
        (frameset-p, frameset-restore, frameset-save): Declare.
        (register-alist): Document framesets.
        (frameset-session-filter-alist): Declare.
        (frameset-to-register): New function.
        (jump-to-register): Implement jumping to framesets.  Doc fix.
        (describe-register-1): Describe framesets.
      2805a651
  28. 26 Mar, 2013 1 commit
  29. 01 Jan, 2013 1 commit
  30. 06 Oct, 2012 1 commit
  31. 09 Sep, 2012 1 commit
  32. 08 Sep, 2012 1 commit
    • Jambunathan K's avatar
      * lisp/register.el (increment-register): Route it to `append-to-register', · 0979429b
      Jambunathan K authored
      if register contains text so that `C-x r +' can now be
      used for appending to a text register.
      (register): New group.
      (register-separator): New user option.
      (append-to-register, prepend-to-register): Add separator based on
      `register-separator.
      * doc/emacs/regs.texi (Text Registers): `C-x r +' can now be used instead of
      M-x append-to-register.  New option `register-separator'.
      (Number Registers): Mention that `C-x r +' is polymorphic.
      
      Fixes: debbugs:12217
      0979429b
  33. 29 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Deactivate the mark on more copy operations, and indicate the copied region. · 2549c068
      Chong Yidong authored
      * lisp/simple.el (indicate-copied-region): New function.
      (kill-ring-save): Split off from here.
      
      * lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
      (kill-rectangle): Set deactivate-mark to t on read-only error.
      
      * lisp/register.el (copy-to-register, copy-rectangle-to-register):
      Deactivate the mark, and use indicate-copied-region.
      (append-to-register, prepend-to-register): Call
      
      Fixes: debbugs:10056
      2549c068
  34. 14 Jul, 2012 1 commit
  35. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5