1. 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.
      0aec2aac
    • 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.
      1be349c6
    • Paul Eggert's avatar
      Fix some confusion with ‘format’ · 0c856a2c
      Paul Eggert authored
      * lisp/allout-widgets.el (allout-widgets-before-change-handler)
      (allout-graphics-modification-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)
      (org-babel-confirm-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)
      (prolog-view-predspec):
      * 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 ‘%’.
      0c856a2c
  2. 05 Aug, 2015 4 commits
  3. 04 Aug, 2015 4 commits
  4. 03 Aug, 2015 3 commits
  5. 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:
      http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
      and by Drew Adams in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
      * 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'.
      fa10e777
    • 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.
      fc9206b7
    • 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.
      b0aa0590
    • 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
      substitute-command-keys.
      * src/keyboard.c (show_help_echo, parse_menu_item): Call
      substitute-command-keys on the help string before displaying it.
      5f5fe275
    • Paul Eggert's avatar
      Also mention "curly quotes" · d2c4309d
      Paul Eggert authored
      See Drew Adams's email in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
      * doc/lispref/help.texi (Keys in Documentation):
      Add index entry "curly quotes".
      * etc/NEWS: Use the phrase "curly quotes" too.
      d2c4309d
    • 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.
      397e316b
    • 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.
      844ae4d0
    • Eli Zaretskii's avatar
      Whitespace fixes · 1bc3c754
      Eli Zaretskii authored
      ; * src/w32fns.c (get_wm_chars, deliver_wm_chars, w32_wnd_proc):
      Whitespace fixes.
      1bc3c754
    • 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
      c6a626eb
    • 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)
      0afb8fab
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · 6d69b069
      Glenn Morris authored
      6d69b069
    • 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):
      (widget-push-button-value-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.
      (widget-documentation-string-value-create):
      Substitute the doc string.
      bd3b426e
  6. 01 Aug, 2015 8 commits
  7. 31 Jul, 2015 6 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)
      (checkdoc-next-message-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)
      (nntp-retrieve-articles):
      * lisp/imenu.el (imenu--relative-position):
      * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
      (skkdic-convert-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)
      (org-update-parent-todo-statistics):
      * lisp/play/decipher.el (decipher-insert-frequency-counts)
      (decipher-analyze-buffer):
      * 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)
      (idlwave-list-load-path-shadows):
      * lisp/progmodes/opascal.el (opascal-step-progress):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-scan-directory-contents):
      * lisp/textmodes/bibtex.el (bibtex-progress-message):
      * lisp/textmodes/flyspell.el (flyspell-small-region)
      (flyspell-external-point-words):
      * 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.
      eb0f65b4
    • 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.
      0f23e95b
    • 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).
      8a7a99e0
    • 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.
      f5fc5cd5
    • 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).
      8d332aec
    • Eli Zaretskii's avatar
      a246df72