1. 29 Jul, 2018 7 commits
  2. 28 Jul, 2018 12 commits
    • Stephen Berman's avatar
      Fix bugs in wdired.el involving dired-filename property · 8a563d97
      Stephen Berman authored
      After every change in wdired-mode, put the dired-filename text
      property on the file name.  This ensures that changing some but not
      all characters in the name succeeds with non-nil
      wdired-use-interactive-rename (bug#32173) and it also ensures that
      changed names can be found (e.g. by dired-isearch-filenames) while
      still in wdired-mode.
      
      * lisp/wdired.el (wdired--restore-dired-filename-prop): New function.
      (wdired-change-to-wdired-mode): Add it to after-change-functions.
      (wdired-change-to-dired-mode): Remove it from after-change-functions.
      (wdired-finish-edit): Move invocation of
      wdired-change-to-dired-mode below invocation of wdired-do-renames,
      so that the latter runs wdired--restore-dired-filename-prop, but
      above the invocation of revert-buffer to avoid using
      wdired-revert, which changes back to wdired-mode.
      (wdired-search-and-rename): Wrap renaming in unwind-protect and if
      user types C-g when prompted to change the file name, make sure we
      return to dired-mode.
      8a563d97
    • Stephen Berman's avatar
      Add initial tests for wdired.el · 67679f0c
      Stephen Berman authored
      * test/lisp/wdired-tests.el: New file.
      67679f0c
    • Stephen Berman's avatar
      Fix use of non-nil wdired-use-interactive-rename · 831a3cb3
      Stephen Berman authored
      This is a fairly minimal fix for the release branch; a more
      comprehensive fix is on master, so do not merge this to master.
      
      * lisp/wdired.el (wdired-search-and-rename): Remove dired-filename
      text property in order to find new filename when it only partially
      replaces old filename (bug#32173).  If user quits before renaming
      succeeds, restore the dired-filename text property.
      831a3cb3
    • Michael Albinus's avatar
      ; Instrumentation for shadowfile.el · db80851a
      Michael Albinus authored
      db80851a
    • Eli Zaretskii's avatar
      Make 'tis620-2533' character set be an alias for 'thai-iso8859-11' · 3f0709b3
      Eli Zaretskii authored
      * lisp/simple.el (what-cursor-position): Revert ad-hoc change
      to work around tis620-2533 charset.
      * lisp/w32-fns.el: Use thai-iso8859-11 instead of tis620-2533.
      * lisp/international/mule-conf.el (tis620-2533): Now an alias
      for thai-iso8859-11, not a separate character set.
      * lisp/international/fontset.el (charset-script-alist): Add
      thai-iso8859-11; fix entries for greek and hebrew.
      (font-encoding-alist, font-encoding-charset-alist): Use
      thai-iso8859-11 instead of tis620-2533.
      * lisp/descr-text.el (describe-char): Remove the ad-hoc code
      that assigns eight-bit-control characters to the eight-bit
      charset.
      3f0709b3
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 4713f5d7
      Glenn Morris authored
      bd52f37c (origin/emacs-26) ; Fix last change: only MinGW runtime 5.0.2...
      024d20f8 Fix compilation with mingw.org's MinGW 5.x headers
      38b67488 Update the list of special forms in the ELisp manual
      85791053 Don't fail to indent-sexp before a full sexp (Bug#31984)
      d24c5f26 Fix calls to modifications hooks in replace-buffer-contents
      71a91515 * src/character.c (char_width): Support glyphs with faces.  (...
      0feb6733 Display raw bytes as belonging to 'eight-bit' charset
      2e2f00f8 ; * doc/emacs/mule.texi (International Chars): Fix last change.
      00561b59 Fix inaccurate text in the user manual
      5cfb7a39 Copyedits in tramp.texi, improved example with bash's readline
      6f8f358e Minor Tramp doc update
      2585fcb1 File Shadowing is not available on MS Windows
      39da592d ; Minor markup change in indent.texi
      2f00ffe5 ; bookmark-jump: Add comment about last change.
      4713f5d7
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      024d20f8
    • Phil Sainty's avatar
      1bcf5d02
    • João Távora's avatar
      Fix @include directive in Flymake doc again · 177deaf9
      João Távora authored
      Problem was reintroduced by commit titled:
      "Mention use of C-h . (display-local-help) in Flymake manual"
      
      * doc/misc/flymake.texi: Don't @include a relative path.
      177deaf9
    • Eli Zaretskii's avatar
      Update the list of special forms in the ELisp manual · 38b67488
      Eli Zaretskii authored
      * doc/lispref/eval.texi (Special Forms):
      * doc/lispref/frames.texi (Mouse Tracking): 'track-mouse' is
      nowadays a macro.  (Bug#32284)
      38b67488
    • Martin Rudalics's avatar
      Fix problem with 'scroll-bar-adjust-thumb-portion' nil (Bug#32002) · c0809ff2
      Martin Rudalics authored
      * lisp/scroll-bar.el (scroll-bar-drag-1): Do not scroll window
      when its buffer is fully visible and
      'scroll-bar-adjust-thumb-portion' is nil (Bug#32002).
      c0809ff2
  3. 27 Jul, 2018 9 commits
  4. 26 Jul, 2018 7 commits
    • Alan Mackenzie's avatar
      Correctly indent C++ brace lists in member init lists. · 99a93dae
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-guess-basic-syntax; CASE 9B, CASE 9C): Set a
      limit for a backward search to the ":" introducing the member init list, when
      there is one, rather than the enclosing "{" or nil.
      99a93dae
    • Eli Zaretskii's avatar
      Fix inaccurate text in the user manual · 00561b59
      Eli Zaretskii authored
      * doc/emacs/mule.texi (International Chars): Correct inaccurate
      description of raw bytes display by "C-x =".
      00561b59
    • Michael Albinus's avatar
      a8f2d97b
    • Michael Albinus's avatar
      Copyedits in tramp.texi, improved example with bash's readline · 5cfb7a39
      Michael Albinus authored
      * doc/misc/tramp.texi (all): Unify some wordings.
      (Frequently Asked Questions): Update example with bash's readline.
      5cfb7a39
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      %o and %x can now format signed integers · 4a56ca5b
      Paul Eggert authored
      Optionally treat integers as signed numbers with %o
      and %x format specifiers, instead of treating them as
      a machine-dependent two’s complement representation.
      This option is more machine-independent, allows formats
      like "#x%x" to be useful for reading later, and is
      better-insulated for future changes involving bignums.
      Setting the new variable ‘binary-as-unsigned’ to nil
      enables the new behavior (Bug#32252).
      This is a simplified version of the change proposed in:
      https://lists.gnu.org/r/emacs-devel/2018-07/msg00763.html
      I simplified that proposal by omitting bitwidth modifiers, as
      I could not find an any example uses in the Emacs source code
      that needed them and doing them correctly would have been
      quite a bit more work for apparently little benefit.
      * doc/lispref/strings.texi (Formatting Strings):
      Document that %x and %o format negative integers in a
      platform-dependent way.  Also, document how to format
      numbers so that the same values can be read back in.
      * etc/NEWS: Document the change.
      * src/editfns.c (styled_format): Treat integers as signed
      numbers even with %o and %x, if binary-as-unsigned is nil.
      Support the + and space flags with %o and %x, since they’re
      about signs.
      (syms_of_editfns): New variable binary-as-unsigned.
      * test/src/editfns-tests.el (read-large-integer):
      Test that maximal integers can be read after printing
      with all integer formats, if binary-as-unsigned is nil.
      4a56ca5b
    • Lucas Werkmeister's avatar
      Notify systemd in daemon-initialized and kill-emacs (Bug#31498) · 19f5f7b1
      Lucas Werkmeister authored
      With --[bg-]daemon and Type=forking, systemd will only consider the
      daemon to have fully started up once the original process exits, and
      will wait until then to start units depending on the Emacs service.  To
      get the same functionality with --fg-daemon, use Type=notify instead of
      Type=simple and explicitly send a readiness notification to systemd at
      the point where the forked process would in --bg-daemon mode notify its
      parent process and cause it to exit.  Similarly, notify systemd at the
      beginning of the shutdown process as well.  (Both of these calls are
      successful no-ops if emacs was not started by systemd.)
      * etc/emacs.service: Update Type.
      * src/emacs.c (daemon-initialized) [HAVE_LIBSYSTEMD]:
      * src/emacs.c (kill-emacs) [HAVE_LIBSYSTEMD]: Call sd_notify().
      19f5f7b1
  5. 25 Jul, 2018 5 commits