1. 06 Aug, 2019 4 commits
    • Stefan Monnier's avatar
      * lisp/mh-e: Use cl-lib · 74b097b6
      Stefan Monnier authored
      Also, use underscore prefixes and defvar in preparation for lexical binding
      
      * lisp/mh-e/mh-acros.el: Require cl-lib instead of cl.
      Rename all cl.el uses by adding `cl-` prefix.
      (mh-require-cl): Remove.  Not needed any more.  Remove all calls.
      (mh-defstruct): Remove.  Replace all uses with cl-defstruct.
      (mh-dlet*): New macro.
      
      * lisp/mh-e/mh-comp.el (mh-user-agent-compose): Fold all ignored
      optional args into the &rest arg.
      
      * lisp/mh-e/mh-e.el: Require cl-lib instead of using mh-require-cl.
      (mh-variants): Don't add-to-list on a local var.
      
      * lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer): Use shorter arg
      names that don't collide with global vars.
      
      * lisp/mh-e/mh-mime.el (mh-insert-mime-button):
      (mh-insert-mime-security-button): Use mh-dlet*.
      
      * lisp/mh-e/mh-search.el (mh-swish-next-result, mh-grep-next-result)
      (mh-namazu-next-result): Use `or`.
      
      * lisp/mh-e/mh-thread.el (mh-thread-generate)
      (mh-thread-prune-containers): Use underscore rather than declare+ignore.
      
      * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): Use mh-dlet*.
      (mh-tool-bar-define): Prefer the more precise \`...\' regexp ops.
      Prefer Elisp's `eval-and-compile` over `cl-eval-when`.
      
      * lisp/mh-e/mh-xface.el (mh-picon-get-image): Don't use
      mh-funcall-if-exists for ietf-drums-parse-address.
      Avoid the use of `cl-return` and hence use plain `defun`.
      Replace some `cl-loop` with `dolist`.
      74b097b6
    • Paul Eggert's avatar
      decode-time now returns subsec too · b06917a4
      Paul Eggert authored
      The list that decode-time returns now contains an extra
      trailing component that counts the subseconds part of the
      original timestamp (Bug#36549).
      This builds on a suggestion by Lars Ingebrigtsen in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00734.html
      * doc/lispref/os.texi (Time Conversion):
      * doc/misc/emacs-mime.texi (time-date):
      * etc/NEWS: Document this.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      * lisp/calendar/iso8601.el (iso8601-parse)
      (iso8601-parse-time, iso8601-parse-duration)
      (iso8601--decoded-time):
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/calendar/time-date.el (make-decoded-time)
      (decoded-time-set-defaults):
      * lisp/org/org.el (org-fix-decoded-time)
      (org-parse-time-string):
      * src/timefns.c (Fdecode_time):
      Generate subsec member for decoded time.
      * lisp/calendar/time-date.el (decoded-time-add)
      Add the decoded subsec too.
      * lisp/simple.el (decoded-time): New subsec member.
      * src/data.c (Frem): Simplify zero-check to match that of new Fmod.
      (integer_mod): New function, with most of the guts of the old Fmod.
      Remove redundant zero-check.
      (Fmod): Use it.
      * src/timefns.c (Fencode_time): Handle new subsec member
      or (with the obsolescent calling convention) subsec arg.
      It defaults to 0.
      * test/lisp/calendar/icalendar-tests.el:
      (icalendar--decode-isodatetime):
      * test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
      (test-iso8601-date-dates, test-iso8601-date-obsolete)
      (test-iso8601-date-weeks, test-iso8601-date-ordinals)
      (test-iso8601-time, test-iso8601-combined)
      (test-iso8601-duration, test-iso8601-intervals)
      (standard-test-dates, standard-test-time-of-day-fractions)
      (standard-test-time-of-day-beginning-of-day)
      (standard-test-time-of-day-utc)
      (standard-test-time-of-day-zone)
      (standard-test-date-and-time-of-day, standard-test-interval):
      * test/lisp/calendar/parse-time-tests.el (parse-time-tests):
      * test/src/timefns-tests.el (format-time-string-with-zone)
      (encode-time-dst-numeric-zone):
      Adjust to match new behavior.
      b06917a4
    • Paul Eggert's avatar
      New function time-convert · 89c63b35
      Paul Eggert authored
      This replaces the awkward reuse of encode-time to both convert
      calendrical timestamps to Lisp timestamps, and to convert Lisp
      timestamps to other forms.  Now, encode-time does just the
      former and the new function does just the latter.
      The new function builds on a suggestion by Lars Ingebrigtsen in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00801.html
      and refined by Stefan Monnier in:
      https://lists.gnu.org/r/emacs-devel/2019-07/msg00803.html
      * doc/lispref/os.texi (Time of Day, Time Conversion):
      * doc/misc/emacs-mime.texi (time-date):
      * etc/NEWS: Update documentation.
      * lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
      * lisp/calendar/time-date.el (seconds-to-time, days-to-time):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-time):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-add-item):
      * lisp/emacs-lisp/cl-extra.el (cl--random-time):
      * lisp/emacs-lisp/timer.el (timer--time-setter)
      (timer-next-integral-multiple-of-time):
      * lisp/find-lisp.el (find-lisp-format-time):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/gnus-group.el (gnus-group-set-timestamp):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-show-org-agenda):
      * lisp/gnus/nnrss.el (nnrss-normalize-date):
      * lisp/gnus/nnspool.el (nnspool-request-newgroups):
      * lisp/net/ntlm.el (ntlm-compute-timestamp):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/obsolete/vc-arch.el (vc-arch-add-tagline):
      * lisp/org/org-clock.el (org-clock-get-clocked-time)
      (org-clock-resolve, org-resolve-clocks, org-clock-in)
      (org-clock-out, org-clock-sum):
      * lisp/org/org-id.el (org-id-uuid, org-id-time-to-b36):
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      * lisp/proced.el (proced-format-time):
      * lisp/progmodes/cc-cmds.el (c-progress-init)
      (c-progress-update):
      * lisp/progmodes/cperl-mode.el (cperl-time-fontification):
      * lisp/progmodes/flymake.el (flymake--schedule-timer-maybe):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-fix-case-region-1):
      * lisp/tar-mode.el (tar-octal-time):
      * lisp/time.el (emacs-uptime):
      * lisp/url/url-auth.el (url-digest-auth-make-cnonce):
      * lisp/url/url-util.el (url-lazy-message):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg-state-fast):
      * lisp/xt-mouse.el (xterm-mouse-event):
      * test/lisp/emacs-lisp/timer-tests.el:
      (timer-next-integral-multiple-of-time-2):
      Use time-convert, not encode-time.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      Don’t use now-removed FORM argument for encode-time.
      It wasn’t crucial anyway.
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add time-convert.
      * lisp/emacs-lisp/elint.el (elint-unknown-builtin-args):
      Update encode-time signature to match current arg set.
      * lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
      Use timer-convert with t rather than doing it by hand.
      * src/timefns.c (time_hz_ticks, time_form_stamp, lisp_time_form_stamp):
      Remove; no longer needed.
      (decode_lisp_time): Rturn the form instead of having a *PFORM arg.
      All uses changed.
      (time_arith): Just return TICKS if HZ is 1.
      (Fencode_time): Remove argument FORM.  All callers changed.
      Do not attempt to encode time values; just encode
      decoded (calendrical) times.
      Unless CURRENT_TIME_LIST, just return VALUE since HZ is 1.
      (Ftime_convert): New function, which does the time value
      conversion that bleeding-edge encode-time formerly did.
      Return TIME if it is easy to see that it is already
      of the correct form.
      (Fcurrent_time): Mention in doc that the form is planned to change.
      * test/src/timefns-tests.el (decode-then-encode-time):
      Don’t use (encode-time nil).
      89c63b35
    • Paul Eggert's avatar
      Fix minor Org timestamp inefficiencies · c6ba8100
      Paul Eggert authored
      * lisp/org/org-id.el (org-id-time-to-b36):
      Remove unnecessary ‘or’.
      * lisp/org/org.el (org-parse-time-string):
      Remove unnecessary ‘encode-time’.
      c6ba8100
  2. 05 Aug, 2019 12 commits
    • Juri Linkov's avatar
      * lisp/cus-start.el: Add :safe to display-fill-column-indicator (bug#36861) · aa624a09
      Juri Linkov authored
      (display-fill-column-indicator)
      (display-fill-column-indicator-column)
      (display-fill-column-indicator-character): Add :safe predicates.
      aa624a09
    • Juri Linkov's avatar
      * lisp/frameset.el (frameset--minibufferless-last-p): Fix pcase-let. · 0c9075f0
      Juri Linkov authored
      This makes frameset sorting stable.  (Bug#36894)
      0c9075f0
    • Juri Linkov's avatar
      * lisp/dired-x.el (dired-guess-shell-alist-default): Use git when possible. · bf276b79
      Juri Linkov authored
      Check for Git backend and provide "git apply" for patch files (bug#36895).
      bf276b79
    • Juri Linkov's avatar
      * lisp/dired.el (dired-special): Rename face from dired-socket (bug#24547). · f986269f
      Juri Linkov authored
      (dired-re-special): Rename from dired-re-socket.
      f986269f
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-define-mode-toggle): Ensure isearch-mode is active. · 883438ef
      Juri Linkov authored
      Call 'isearch-mode' when it's nil.  (Bug#36871)
      883438ef
    • Eli Zaretskii's avatar
      Fix compilation with CHECK_STRUCTS · 81b34c45
      Eli Zaretskii authored
      * src/pdumper.c (dump_hash_table): Update hash of
      HASH_Lisp_Hash_Table.  (Bug#36929)
      81b34c45
    • Lars Ingebrigtsen's avatar
      Revert "Make `view-lossage' output of chars read from `read-char' more logical" · 0bbcd89c
      Lars Ingebrigtsen authored
      This reverts commit 1abf7687.
      
      This change apparently led to problems with kmacro.
      0bbcd89c
    • Michael Albinus's avatar
      Improve Tramp's caching · 6c1d0d53
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-add-name-to-file)
      (tramp-handle-write-region):
      * lisp/net/tramp-adb.el (tramp-adb-handle-make-directory)
      (tramp-adb-handle-delete-directory)
      (tramp-adb-handle-delete-file, tramp-adb-handle-write-region)
      (tramp-adb-handle-set-file-modes)
      (tramp-adb-handle-set-file-times, tramp-adb-handle-copy-file)
      (tramp-adb-handle-rename-file):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file)
      (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-delete-file)
      (tramp-gvfs-handle-make-directory)
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-times, tramp-gvfs-set-file-uid-gid):
      * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file)
      (tramp-rclone-handle-delete-directory)
      (tramp-rclone-handle-delete-file):
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
      (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
      (tramp-sh-handle-add-name-to-file)
      (tramp-sh-handle-copy-directory, tramp-do-copy-or-rename-file)
      (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
      (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-add-name-to-file)
      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
      (tramp-smb-handle-delete-directory)
      (tramp-smb-handle-delete-file)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-make-symbolic-link)
      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-add-name-to-file)
      (tramp-sudoedit-do-copy-or-rename-file)
      (tramp-sudoedit-handle-delete-directory)
      (tramp-sudoedit-handle-delete-file)
      (tramp-sudoedit-handle-set-file-modes)
      (tramp-sudoedit-handle-set-file-times)
      (tramp-sudoedit-handle-make-symbolic-link): Do not flush all file
      properties of upper directory.
      
      * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties):
      New defun.
      (tramp-flush-file-properties, tramp-flush-directory-properties):
      Use it.
      
      * test/lisp/net/tramp-tests.el (tramp-time-diff): Declare.
      (tramp--test-file-attributes-equal-p): Handle also modification
      and status change time.
      6c1d0d53
    • Lars Ingebrigtsen's avatar
      Make `view-lossage' output of chars read from `read-char' more logical · 1abf7687
      Lars Ingebrigtsen authored
      * lisp/help.el (view-lossage): Use the new data format to output
      data from `read-char' and the like in a more understandable
      fashion (bug#21867).
      
      * src/keyboard.c (command_loop_1): Record (in recent_keys) the end
      of commands.
      (Frecent_keys): Don't include `end-of-command' in non-command outputs.
      (syms_of_keyboard): Define `end-of-command'.
      1abf7687
    • Lars Ingebrigtsen's avatar
      save-some-buffers-default-predicate doc clarification · f1f6f20c
      Lars Ingebrigtsen authored
      * lisp/files.el (save-some-buffers-default-predicate): Clarify
      calling convention.
      f1f6f20c
    • Mattias Engdegård's avatar
      47a3e0dc
    • Martin Rudalics's avatar
      Fix doc-strings of 'display-buffer-*' functions (Bug#19461) · 88be35e1
      Martin Rudalics authored
      * lisp/window.el (display-buffer-in-atom-window)
      (display-buffer-in-side-window, display-buffer-record-window)
      (display-buffer-use-some-frame, display-buffer-same-window)
      (display-buffer-reuse-window, display-buffer-pop-up-frame)
      (display-buffer-pop-up-window, display-buffer-in-child-frame)
      (display-buffer-in-direction, display-buffer-below-selected)
      (display-buffer-at-bottom, display-buffer-in-previous-window)
      (display-buffer-use-some-window)
      (display-buffer--maybe-pop-up-frame-or-window)
      (display-buffer--maybe-pop-up-frame): Fix doc-strings
      (Bug#19461).
      88be35e1
  3. 04 Aug, 2019 17 commits
    • Paul Eggert's avatar
      Fix one more 2019-08-04 regex lint · 543568b6
      Paul Eggert authored
      Problem clarified by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-08/msg00087.html
      * lisp/isearch.el (isearch-symbol-regexp):
      Remove \s@ from regexp as it cannot match.
      543568b6
    • Basil L. Contovounesios's avatar
      Support reverting Apropos buffers (bug#36588) · 4cd41ba8
      Basil L. Contovounesios authored
      * lisp/apropos.el (apropos--current): New variable akin to
      help-xref-stack-item storing information for revert-buffer.
      (apropos--revert-buffer): New function.
      (apropos-mode): Use it as revert-buffer-function.
      (apropos-command, apropos, apropos-library, apropos-value)
      (apropos-local-value, apropos-documentation): Set apropos--current
      in low-level commands, i.e., those which do not call other commands.
      4cd41ba8
    • Paul Eggert's avatar
      Fix 2019-08-04 regex lint · a5b796a8
      Paul Eggert authored
      Problem reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-08/msg00085.html
      * lisp/calendar/diary-lib.el (diary-glob-file-regexp-prefix):
      Omit unnecessary ‘\’ before ordinary char.
      * lisp/cedet/inversion.el (inversion-decoders):
      * lisp/org/ob-haskell.el (org-babel-haskell-export-to-lhs):
      Omit unnecessary ‘?’ after nullable pattern.
      * lisp/org/org-capture.el (org-capture-fill-template):
      Match upper-case as well as lower-case letters.
      * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings)
      (c-after-change-mark-abnormal-strings):
      Simplify ‘.|\r’ to ‘.’.
      * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer):
      Put ‘-’ at end of bracket expression.
      a5b796a8
    • Paul Eggert's avatar
      Tweak time arithmetic performance · 7748ef21
      Paul Eggert authored
      * src/timefns.c (lispint_arith): New function, which
      should be a bit faster if B is 0, or if A is a bignum
      and B a fixnum with absolute value in unsigned long range.
      (time_arith): Use it.
      7748ef21
    • Paul Eggert's avatar
      Improve time function doc · 5f3f3884
      Paul Eggert authored
      * doc/misc/emacs-mime.texi (time-date): Don’t give
      parse-iso8601-time-string in the example, as the function is
      not autoloaded.
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      No need to call encode-time or use floating point here.
      5f3f3884
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by recent changes · f01597a4
      Eli Zaretskii authored
      * src/inotify.c (syms_of_inotify) <Qignored>: Don't define here...
      * src/coding.c (syms_of_coding) <Qignored>: ...define it here,
      because it is needed also on platforms that don't compile
      inotify.c.
      f01597a4
    • Paul Eggert's avatar
      Minor fix to recent coding.c change · 3c459e3b
      Paul Eggert authored
      * src/coding.c (get_buffer_gap_address):
      Don’t assume string or buffer length fits in int.
      Also, improve wording of comments.
      3c459e3b
    • Michael Albinus's avatar
    • Lars Ingebrigtsen's avatar
      Capitalise a couple of node names · 21ada03d
      Lars Ingebrigtsen authored
      * doc/lispref/functions.texi (Advising Functions): Capitalise node
      names (bug#17717).
      (Advice Combinators, Porting Old Advice): Capitalise.
      21ada03d
    • Michael Heerdegen's avatar
      Clarify macroexp-let* doc string · bbb41a20
      Michael Heerdegen authored
      * lisp/emacs-lisp/macroexp.el (macroexp-let2*): Clarify doc
      string (bug#19371).
      bbb41a20
    • K. Handa's avatar
      9b7d25e4
    • K. Handa's avatar
      Add Unicode-safe UTF-8 converter · a8026dfd
      K. Handa authored
      * src/coding.c (encode_string_utf_8, decode_string_utf_8): New functions.
      * src/coding.h (encode_string_utf_8, decode_string_utf_8): Extern them.
      a8026dfd
    • Lars Ingebrigtsen's avatar
      Core Advising Primitives `interactive' clarification · 151a99cc
      Lars Ingebrigtsen authored
      * doc/lispref/functions.texi (Core Advising Primitives): Clarify
      when the interactive spec is a function (bug#17871).
      151a99cc
    • Michael Albinus's avatar
      Implement set-file-* functions for tramp-gvfs.el · 2abcca23
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping):
      Add "gvfs-set-attribute".
      (tramp-gvfs-file-name-handler-alist):
      Add `tramp-gvfs-handle-set-file-modes',
      `tramp-gvfs-handle-set-file-times' and
      `tramp-gvfs-handle-set-file-uid-gid'.
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-times)
      (tramp-sh-handle-set-file-uid-gid): New defuns.
      
      * lisp/net/tramp.el (tramp-handle-write-region): Set file modes.
      
      * test/lisp/net/tramp-tests.el (tramp-test20-file-modes)
      (tramp-test22-file-times): Do not skip for tramp-gvfs.el.
      2abcca23
    • Martin Rudalics's avatar
      Fix two mouse drag and drop issues (Bug#28620, Bug#36269) · 5ec3f705
      Martin Rudalics authored
      Allow 'mouse-drag-and-drop-region' to move/copy text from one
      frame to another (Bug#28620).  Prevent mouse avoidance mode from
      interfering with 'mouse-drag-and-drop-region' (Bug#36269).
      
      * lisp/avoid.el (mouse-avoidance-ignore-p): Suspend avoidance
      when 'track-mouse' equals 'dropping'.
      * lisp/mouse.el (mouse-drag-and-drop-region): Set
      'track-mouse' to 'dropping'.  Continue reading events also
      when switching frames.
      * src/keyboard.c (Finternal_track_mouse): Rename from
      Ftrack_mouse.
      (some_mouse_moved): Return NULL also when mouse is not tracked.
      (show_help_echo, readable_events, kbd_buffer_get_event): Don't
      check whether mouse is tracked, some_mouse_moved does it now.
      (track_mouse): Rename variable from do_mouse_tracking.  Adjust
      all users.  In doc-string explain meanings of special values
      'dragging' and 'dropping'.
      * src/nsterm.m (ns_mouse_position): During drag and drop
      consider last mouse frame only when there is no currently
      focused frame.
      * src/w32fns.c (w32_wnd_proc): Don't set mouse capture during a
      drag and drop operation.
      * src/w32term.c (w32_mouse_position): Track frame under mouse
      during mouse drag and drop.
      (mouse_or_wdesc_frame): New function.
      (w32_read_socket): Call mouse_or_wdesc_frame on mouse events.
      * src/xdisp.c (define_frame_cursor1): Don't change mouse cursor
      shape during mouse drag and drop.
      (syms_of_xdisp): New symbol Qdropping.
      * src/xterm.c (XTmouse_position): Allow mouse drag and drop move
      to another frame
      (mouse_or_wdesc_frame): New function.
      (handle_one_xevent): Use mouse_or_wdesc_frame for mouse events.
      5ec3f705
    • Noam Postavsky's avatar
      Improved ChangeLog generation for vc log (Bug#16301) · 01661f33
      Noam Postavsky authored
      * lisp/vc/diff-mode.el (diff-find-source-location): Fix docstring.
      
      * lisp/vc/add-log.el (change-log-unindented-file-names-re)
      (change-log-read-entries, change-log-read-defuns)
      (change-log-insert-entries):
      * lisp/vc/diff-mode.el (diff-add-log-current-defuns):
      * lisp/vc/log-edit.el (log-edit--insert-filled-defuns)
      (log-edit-fill-entry): New functions.
      (log-edit-mode): Set `log-edit-fill-entry' as
      `fill-paragraph-function'.
      (log-edit-generate-changelog-from-diff): New command.
      (log-edit-mode-map): Bind it to C-c C-w.
      * doc/emacs/maintaining.texi (Types of Log File, Log Buffer):
      * CONTRIBUTE: Document it.
      * etc/NEWS: Announce it.
      * test/lisp/vc/log-edit-tests.el (log-edit-fill-entry)
      (log-edit-fill-entry-joining): New tests.
      01661f33
    • Eric Abrahamsen's avatar
      Fix Gnus group name reference in gnus-mark-xrefs-as-read · 2d47483e
      Eric Abrahamsen authored
      * lisp/gnus/gnus-sum.el (gnus-mark-xrefs-as-read): There's already a
      local binding for "group", don't need another "name". This was left
      over from the obarray-to-hashtable change.
      2d47483e
  4. 03 Aug, 2019 7 commits
    • Eric Abrahamsen's avatar
      Temporarily preserve encoded Gnus group names in Gnus files · 727e0eab
      Eric Abrahamsen authored
      Non-ascii Gnus groups should be written to files in their encoded
      version until we're ready to bump Gnus' version and add an upgrade
      routine.
      
      * lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format):
      * lisp/gnus/gnus-agent.el (gnus-category-read):
        (gnus-category-write): Handle non-ascii group names appropriately.
      * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names): New
        function to encode/decode group names.
        (gnus-registry-fixup-registry):
        (gnus-registry-save): Use function.
      727e0eab
    • Eric Abrahamsen's avatar
      Remove Gnus group name encoding/decoding · cb12a84f
      Eric Abrahamsen authored
      This completes the process started in c1b63af4. Gnus group names are
      now fully decoded inside the Gnus system.
      
      * lisp/gnus/gnus-agent.el (gnus-agent-file-coding-system): Change
        default to utf-8-emacs.
        (gnus-agent-decoded-group-names, gnus-agent-decoded-group-name):
        Remove variable and function. Remove all usage in this file.
      * lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-names,
        gnus-cache-unified-group-names, gnus-cache-decoded-group-name):
        Remove these variables and function. Remove all usage in this file.
      * lisp/gnus/gnus-group.el (gnus-tmp-decoded-group): Remove this
        variable, gnus-tmp-group is now decoded.
        (gnus-group-completing-read): Don't encode or decode group names
        here.
        (gnus-group-make-group): Remove ENCODED argument.
      * lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Decode group
        names here.
      * lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist):
        check for encoded group names and decode.
        (gnus-active-to-gnus-format): Make sure incoming group names are
        decoded.
        (gnus-read-newsrc-el-file): Check for encoded group names in
        gnus-topic-alist.
      * lisp/gnus/nnagent.el: Don't use a unibyte buffer.
      * lisp/gnus/nnheader.el (nnheader-file-coding-system): Switch default
        from 'raw-text to 'undecided, on the assumption that 'undecided will
        probably write 'utf-8-emacs unless the user has arranged things
        otherwise.
      * lisp/gnus/nnimap.el (nnimap-decode-gnus-group,
        nnimap-encode-gnus-group): Remove functions and their use.
      * lisp/gnus/nnmail.el (nnmail-parse-active): Remove encoding.
        (nnmail-active-file-coding-system): Default to 'utf-8-emacs instead
        of 'raw-text.
        (nnmail-group-names-not-encoded-p): Obsolete this variable; stop
        using it.
      * lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-cus.el:
      * lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-start.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus.el:
      * lisp/gnus/nnml.el:
      * lisp/gnus/message.el:
      * lisp/gnus/nnrss.el: Stop using gnus-group-decoded-name in all these
        files.
      cb12a84f
    • Eric Abrahamsen's avatar
      Fix ordering of Gnus groups after yanking · c6b4eed8
      Eric Abrahamsen authored
      * lisp/gnus/gnus-start.el (gnus-group-change-level): Fix docstring to
      note that the inserted group is inserted *before* the PREVIOUS
      group. Fix indexing -- shouldn't have been adding one to the index.
      c6b4eed8
    • Paul Eggert's avatar
      Remove stale .pdmp files with ‘make clean’ · da03988d
      Paul Eggert authored
      Problem reported by Sven Joachim (Bug#36907).
      * admin/make-emacs: Simplify, now that clean does versionclean.
      * src/Makefile.in ($(etc)/DOC, versionclean, extraclean):
      Don’t ignore rm -f failures.
      (versionclean): Also remove emacs-*.*.*[0-9].pdmp and ../etc/DOC*.
      (clean): Depend on versionclean and simplify.
      da03988d
    • Glenn Morris's avatar
      * doc/lispref/display.texi (SVG Images): Remove menu. · 7bb269ea
      Glenn Morris authored
      Not needed since SVG Path Commands was changed to not be a node.
      7bb269ea
    • Lars Ingebrigtsen's avatar
      Clarify hi-lock-file-patterns-prefix doc string · af1509b2
      Lars Ingebrigtsen authored
      * lisp/hi-lock.el (hi-lock-file-patterns-prefix): Clarify doc
      string (bug#17993).
      af1509b2
    • Lars Ingebrigtsen's avatar
      Mention `themed-value' in Variable Definitions node · d084fd47
      Lars Ingebrigtsen authored
      * doc/lispref/customize.texi (Variable Definitions): Mention
      `themed-value' (bug#17996).
      d084fd47