1. 12 Nov, 2015 1 commit
    • Phillip Lord's avatar
      The heuristic that Emacs uses to add an `undo-boundary' has been · 44dfa86b
      Phillip Lord authored
      reworked, as it interacts poorly with functions on `post-command-hook'
      or `after-change-functions'.
      * lisp/simple.el: New section added.
      * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
      (self_insert_command): Calls simple.el to amalgamate.
      (delete_char): Calls simple.el to amalgamate.
      * src/keyboard.c (last_undo_boundary): Removed.
      * src/undo.c (run_undoable_change): New function.
  2. 06 Aug, 2015 3 commits
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Simplify describe-package-1 · 0aec2aac
      Artur Malabarba authored
      (package-help-section-name-face): New face.
      (package--print-help-section): New function.
      (describe-package-1): Refactor section printing.
      (package-make-button): Use face instead of font-lock-face, which
      doesn't work on buttons.
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Define custom faces · 1be349c6
      Artur Malabarba authored
      (package-name-face, package-description-face)
      (package-status-built-in-face, package-status-external-face)
      (package-status-available-face, package-status-new-face)
      (package-status-held-face, package-status-disabled-face)
      (package-status-installed-face, package-status-dependency-face)
      (package-status-unsigned-face, package-status-incompat-face)
      (package-status-avail-obso-face): New faces.
      (package-menu--print-info-simple): Use them.
    • Paul Eggert's avatar
      Fix some confusion with ‘format’ · 0c856a2c
      Paul Eggert authored
      * lisp/allout-widgets.el (allout-widgets-before-change-handler)
      Protect arbitrary string in a format context with "%s" format.
      * lisp/avoid.el:
      * lisp/cedet/semantic/bovine/scm.el: Fix comment.
      * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
      * lisp/erc/erc-button.el (erc-button-beats-to-time):
      * lisp/gnus/message.el (message-send-form-letter):
      * lisp/org/ob-core.el (org-babel-check-evaluate)
      * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
      * lisp/org/ox-latex.el (org-latex-compile):
      * lisp/org/ox-man.el (org-man-compile):
      * lisp/org/ox-odt.el (org-odt-template):
      * lisp/org/ox-texinfo.el (org-texinfo-compile):
      * lisp/progmodes/prolog.el (prolog-help-info)
      * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
      * lisp/progmodes/verilog-mode.el (verilog-showscopes):
      * lisp/textmodes/rst.el (rst-replace-lines):
      Change (message (format ...)) to (message ...), and likewise
      for ‘error’.  This lessens the probability of confusion when the
      output of ‘format’ contains ‘%’.
  3. 05 Aug, 2015 4 commits
  4. 04 Aug, 2015 4 commits
  5. 03 Aug, 2015 3 commits
  6. 02 Aug, 2015 12 commits
    • Paul Eggert's avatar
      Redo text-quoting-style variable · fa10e777
      Paul Eggert authored
      Rename help-quote-translation to text-quoting-style,
      and use symbols rather than characters as values.
      This follows suggestions along these lines by Alan Mackenzie in:
      and by Drew Adams in:
      * doc/lispref/help.texi (Keys in Documentation)
      * etc/NEWS:
      * lisp/cus-start.el (standard):
      * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
      Document and/or implement the new behavior instead of the old.
      (syms_of_doc): New symbols 'grave' and 'straight'.
    • Nikolaus Rath's avatar
      nnimap.el: Use IMAP MOVE extension if available · fc9206b7
      Nikolaus Rath authored
      * lisp/gnus/nnimap.el (nnimap-request-move-article)
      (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
      Use MOVE extension if available.
    • Nikolaus Rath's avatar
      nnimap.el: Explicitly ask for server capabilities · b0aa0590
      Nikolaus Rath authored
      * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
      capabilities will be returned in the login-result.
    • Paul Eggert's avatar
      Treat help strings like other doc strings · 5f5fe275
      Paul Eggert authored
      * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
      * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
      * src/keyboard.c (show_help_echo, parse_menu_item): Call
      substitute-command-keys on the help string before displaying it.
    • Paul Eggert's avatar
      Also mention "curly quotes" · d2c4309d
      Paul Eggert authored
      See Drew Adams's email in:
      * doc/lispref/help.texi (Keys in Documentation):
      Add index entry "curly quotes".
      * etc/NEWS: Use the phrase "curly quotes" too.
    • Ingo Lohmar's avatar
      Add option `calendar-weekend-days' · 397e316b
      Ingo Lohmar authored
      Previously, the face `calendar-weekend-header' was invariably applied to
      Sundays and Saturdays, although weekend days differ by region/culture.
      Making the days freely customizable, independent of
      `calendar-week-start-day', should cover all possible scenarios.
    • Paul Eggert's avatar
      ede-proj-target-makefile docstring tweaks · 844ae4d0
      Paul Eggert authored
      * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
      Consistently use "all:" to describe the all: target,
      replacing three different and confusingly-quoted usages.
    • Eli Zaretskii's avatar
      Whitespace fixes · 1bc3c754
      Eli Zaretskii authored
      ; * src/w32fns.c (get_wm_chars, deliver_wm_chars, w32_wnd_proc):
      Whitespace fixes.
    • Evgeny Fraimovitch's avatar
      Don't abort emacsclientw when -a was specified · c6a626eb
      Evgeny Fraimovitch authored
      * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
      out if we are in emacsclientw and -a was specified.
      Copyright-paperwork-exempt: yes
    • Eli Zaretskii's avatar
      Fix handling of 1st keystroke on MS-Windows · 0afb8fab
      Eli Zaretskii authored
      * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
      This is needed to correctly handle the session's first keystroke,
      if it has any modifiers.  (Bug#19994)
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · 6d69b069
      Glenn Morris authored
    • Paul Eggert's avatar
      Substitute some customization etc. doc strings · bd3b426e
      Paul Eggert authored
      These changes apply substitute-command-keys to some
      doc strings that were going through untranslated
      when creating customization or other widgets.
      * lisp/cus-edit.el (custom-group-value-create):
      * lisp/wid-edit.el (widget-default-create):
      Treat the widget tag as a doc string.
      * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
      Treat the :documentation value as a doc string.
      * lisp/wid-edit.el (widget-choose):
      Treat the choice names as doc strings.
      (widget-default-create): Treat the :doc value as a doc string.
      (widget-toggle-value-create): Treat the :on and :off values
      as doc strings.
      Substitute the doc string.
  7. 01 Aug, 2015 8 commits
  8. 31 Jul, 2015 5 commits
    • Paul Eggert's avatar
      Don't overflow if computing approximate percentage · eb0f65b4
      Paul Eggert authored
      * lisp/align.el (align-region):
      * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
      * lisp/cedet/semantic/wisent.el (wisent-parse-region):
      * lisp/cus-edit.el (custom-buffer-create-internal):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
      (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
      * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
      * lisp/epa.el (epa-progress-callback-function):
      * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
      * lisp/ffap.el (ffap-menu-rescan):
      * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
      * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
      * lisp/gnus/nneething.el (nneething-retrieve-headers):
      * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
      * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
      * lisp/gnus/nnml.el (nnml-retrieve-headers):
      * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
      * lisp/gnus/nntp.el (nntp-retrieve-headers)
      * lisp/imenu.el (imenu--relative-position):
      * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
      * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
      * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
      * lisp/org/org-list.el (org-update-checkbox-count):
      * lisp/org/org.el (org-table-map-tables)
      * lisp/play/decipher.el (decipher-insert-frequency-counts)
      * lisp/profiler.el (profiler-format-percent):
      * lisp/progmodes/cc-cmds.el (c-progress-update):
      * lisp/progmodes/cpp.el (cpp-highlight-buffer):
      * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
      * lisp/progmodes/opascal.el (opascal-step-progress):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      * lisp/textmodes/bibtex.el (bibtex-progress-message):
      * lisp/textmodes/flyspell.el (flyspell-small-region)
      * lisp/textmodes/table.el (table-recognize):
      Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
      progress-report percentages and the like.  This avoids problems
      if (* 100 NUMERATOR) would overflow.
      * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
      * lisp/gnus/registry.el (registry-reindex):
      Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
      * lisp/descr-text.el (describe-char):
      * lisp/org/org-colview.el (org-nofm-to-completion):
      * lisp/ps-print.el (ps-plot):
      * lisp/simple.el (what-cursor-position):
      Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
      more-complicated and less-accurate approximation.
    • Paul Eggert's avatar
      Fix some int overflows in profiler.c · 0f23e95b
      Paul Eggert authored
      * src/profiler.c (make_log): Make args EMACS_INT, not int,
      to avoid unwanted behavior on 'int' overflow.
      (make_log, evict_lower_half, record_backtrace):
      Use ptrdiff_t, not int, for object indexes.
    • Paul Eggert's avatar
      Port to pedantic memcpy · 8a7a99e0
      Paul Eggert authored
      * src/keyboard.c (menu_bar_items, tool_bar_items):
      * src/xrdb.c (magic_db):
      Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
    • Paul Eggert's avatar
      Merge from gnulib · f5fc5cd5
      Paul Eggert authored
      This incorporates:
      2015-07-29 time_rz: port to pedantic memcpy
      * lib/time_rz.c: Copy from gnulib.
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug · 8d332aec
      Artur Malabarba authored
      When updating the very last entry, tabulated-list-print would
      erase it and then try to look at the next one (which obviously
      isn't there).