1. 23 May, 2015 4 commits
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Always update selected-packages · 7ac84a25
      Artur Malabarba authored
      (package--update-selected-packages): New function.
      (package-menu-execute): Use it before starting the transaction,
      this way the list of selected packages is updated even when the
      transaction fails.
      (package-menu--perform-transaction): Don't edit selected-packages.
    • Eli Zaretskii's avatar
      Fix etags reading of compressed files · 1f83c3e5
      Eli Zaretskii authored
      * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
      Include fcntl.h, for O_CLOEXEC.
      (process_file_name): Don't use 'popen', whose streams cannot be
      rewound.  Instead, uncompress the file to a temporary file,
      created by 'etags_mktmp', and read from that as usual.
      (etags_mktmp): New function.
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5: Update to be consistent with latest
      changes in etags.c regarding reading compressed files.
    • Eli Zaretskii's avatar
      Improve documentation of 'set-fontset-font' · b8e18b63
      Eli Zaretskii authored
      * doc/lispref/display.texi (Fontsets): Document the value of nil
      for the 3rd argument of 'set-fontset-font'.
    • Eli Zaretskii's avatar
      Fix documentation of forward-line · d6dfefe4
      Eli Zaretskii authored
      * src/cmds.c (Fforward_line): Clarify the return value if the line
      at end of accessible portion of the buffer has no newline.
      * doc/lispref/positions.texi (Text Lines): Document what happens
      if the line at end of accessible portion of buffer has no newline.
  2. 22 May, 2015 8 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      * Makefile.in: Add admin/charsets into top-level clean rules. · 50ecfcd6
      Glenn Morris authored
      (clean): Add admin/charsets.
      (maybeclean_dirs): New variable.
      (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
    • Glenn Morris's avatar
    • Artur Malabarba's avatar
    • Glenn Morris's avatar
      Generate admin/charsets Makefile via configure, and make more portable. · e7bc85db
      Glenn Morris authored
      * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
      (admin/charsets/Makefile): Generate it.
      * admin/charsets/Makefile.in: Rename from Makefile.
      (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
      New variables, set by configure.
      (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
      (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
      (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
      (TRANS_TABLE, CHARSETS): Add directory prefix to value.
      (all): Declare PHONY.
      (local): New PHONY target.
      (map_template): New template.  Use to define short PHONY aliases.
      (*.map): Add directory prefixes to targets and prerequisites.
      Respect make verbosity.
      (JISC6226.map): Replace non-portable sed append without newline.
      (install): Remove rule.
      (clean): Only delete temporary sedscript.
      (bootstrap-clean, distclean, maintainer-clean, extraclean)
      (totalclean): New PHONY rules.
      * admin/charsets/mapconv (BASE): Replace basename with expr.
      (FILE): Add "mapfiles" subdirectory.
      (AWK): New variable.  Use throughout in place of "awk".
      (main): Use "gunzip -c" in place of "zcat".
      Don't leave whitespace before "p", for older sed.
      * admin/charsets/mapfiles/PTCP154: Add final newline,
      to make older sed versions happy.
      ; * .gitignore: Ignore admin/charsets/Makefile.
    • Stefan Monnier's avatar
      * lisp/autorevert.el: Use lexical-binding. Fix hook usage. · 9e41e0bc
      Stefan Monnier authored
      (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
      (auto-revert-notify-watch-descriptor): Use defvar-local.
      (find-file-hook, auto-revert-tail-mode, )
      (auto-revert-notify-add-watch): Use setq-local.
      (auto-revert-notify-add-watch): Don't call make-local-variable on
      kill-buffer-hook (bug#20601).
    • Stefan Monnier's avatar
      Change defgeneric so it doesn't completely redefine the function · ea925919
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
      previously defined methods.
      (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
      (cl--generic-prefill-dispatchers): Only define during compilation.
      (cl-method-qualifiers): Remove redundant alias.
      (help-fns-short-filename): Silence byte-compiler.
      * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
  3. 21 May, 2015 9 commits
  4. 20 May, 2015 15 commits
  5. 19 May, 2015 4 commits
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
    • Stefan Monnier's avatar
    • Paul Eggert's avatar
      Try to port new etags tests to MS-Windows · c7acb6dd
      Paul Eggert authored
      * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
      Adjust to test-case changes below.
      * test/etags/Makefile (CSRC): Remove dostorture.c.
      Whatever it was trying to test, wasn't working portably.
      (LC_ALL): Remove.  Apparently there wasn't an encoding problem,
      just a line-ending problem.
      * test/etags/c-src/dostorture.c: Remove.
      * test/etags/cp-src/c.C: Remove stray CR.
      * test/etags/html-src/algrthms.html: Remove trailing CRs.
      State UTF-8 as the encoding.  The file is ASCII so it doesn't matter,
      but if someone edits it later it should stay UTF-8-compatible.
    • Eli Zaretskii's avatar
      Fix display of overlapping window-specific overlays · 18338b1d
      Eli Zaretskii authored
      * src/keyboard.c (adjust_point_for_property): When adjusting point
      due to display strings, ignore overlays that are specific to
      windows other than the currently selected one.
      * src/xdisp.c (handle_single_display_spec): If the display
      property comes from an overlay, arrange for buffer iteration to
      resume only after the end of that overlay.  (Bug#20607)