1. 01 Sep, 2015 11 commits
  2. 31 Aug, 2015 20 commits
    • Rüdiger Sonderfeld's avatar
      hideif.el: Recognize .h++ as C++ header. · 5c0fb39c
      Rüdiger Sonderfeld authored
      * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
      5c0fb39c
    • Rüdiger Sonderfeld's avatar
      28854f27
    • Rüdiger Sonderfeld's avatar
      isearch: Document character folding mode. · 8307c06e
      Rüdiger Sonderfeld authored
      * isearch.el (isearch-forward): Mention `isearch-toggle-character-fold'
      in docstring.
      8307c06e
    • Paul Eggert's avatar
      Quoting fixes in ERC and Eshell · 244c417a
      Paul Eggert authored
      * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
      * lisp/erc/erc-backend.el (define-erc-response-handler):
      * lisp/erc/erc-fill.el (erc-fill-static-center):
      * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
      * lisp/eshell/em-glob.el (eshell-glob-entries):
      * lisp/eshell/em-hist.el (eshell-save-some-history):
      * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
      (eshell-shuffle-files):
      * lisp/eshell/esh-cmd.el (eshell-do-eval):
      * lisp/eshell/esh-proc.el (eshell-process-interact)
      (eshell-query-kill-processes):
      Respect ‘text-quoting-style’ in diagnostics and doc strings.
      244c417a
    • Paul Eggert's avatar
      Quoting fixes in Gnus · 86f69200
      Paul Eggert authored
      * lisp/gnus/gnus-agent.el:
      (gnus-agent-possibly-synchronize-flags-server):
      * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
      * lisp/gnus/gnus-eform.el (gnus-edit-form):
      * lisp/gnus/gnus-group.el (gnus-group-edit-group)
      (gnus-group-nnimap-edit-acl):
      * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
      * lisp/gnus/message.el (message-strip-subject-encoded-words)
      (message-check-recipients, message-send-form-letter):
      * lisp/gnus/mm-decode.el (mm-display-part):
      * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
      * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
      (mml-smime-get-ldap-cert):
      * lisp/gnus/spam-report.el (spam-report-process-queue):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/gnus/gnus-art.el (article-display-face)
      * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
      Use straight quoting in email.
      * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
      Escape apostrophes in doc strings.
      86f69200
    • Paul Eggert's avatar
      Quoting fixes in lisp mail, mh-e, net, url · 8bbff0d6
      Paul Eggert authored
      * lisp/mail/emacsbug.el (report-emacs-bug)
      (report-emacs-bug-hook): Use straight quotes in outgoing email,
      * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
      * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
      * lisp/mail/rmailout.el (rmail-output-read-file-name):
      * lisp/net/imap.el (imap-interactive-login):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/url/url-auth.el (url-register-auth-scheme):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/mh-e/mh-e.el (mh-sortm-args):
      Quote docstring example using text quotes, not as a Lisp quote.
      8bbff0d6
    • Stephen Leake's avatar
      Fix some byte-compiler warnings in EDE · 0ff60ec8
      Stephen Leake authored
      This fixes a bug that caused ede-generic-new-autoloader to overwrite the
      existing autoloader list, rather than add to it.
      
      * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
      argument to eieio class constructor.
      (ede-show-supported-projects): New.
      (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
      with (oref ... name).
      (ede-auto-load-project): Use slot name, not initarg key.
      
      * lisp/cedet/ede/generic.el (ede-generic-load,
      ede-generic-find-matching-target): Use slot name, not initarg key.
      (ede-find-target): Use oref-default on class name.
      (ede-generic-new-autoloader): Delete obsolete name argument to eieio
      class constructor.
      (ede-enable-generic-projects): Make project type names unique.
      0ff60ec8
    • Eli Zaretskii's avatar
      Fix directory accessibility tests for w32 network volumes · e634dacc
      Eli Zaretskii authored
      * src/w32.c (faccessat): Don't fail with network volumes without a
      share.
      (w32_accessible_directory_p): Handle network volumes without a
      share.
      e634dacc
    • Eli Zaretskii's avatar
      Fix handling long file names in readdir on MS-Windows · 5ee3ef8e
      Eli Zaretskii authored
      * src/w32.c (sys_readdir): Append "\*" to the directory after
      converting it to UTF-16/ANSI, not before, to avoid overflowing the
      260-character limit on file names in filename_to_utf16/ansi.
      5ee3ef8e
    • Eli Zaretskii's avatar
      Make file-accessible-directory-p reliable on MS-Windows · 697be62c
      Eli Zaretskii authored
      * src/w32.c (w32_accessible_directory_p): New function.
      * src/w32.h (w32_accessible_directory_p): Add prototype.
      * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
      w32_accessible_directory_p to test a directory for accessibility
      by the current user.  (Bug#21346)
      (Ffile_accessible_directory_p): Remove the w32 specific caveat
      from the doc string.
      697be62c
    • Martin Rudalics's avatar
      Don't call do_pending_window_change in signal handlers (Bug#21380) · 8af8355c
      Martin Rudalics authored
      * src/gtkutil.c (xg_frame_resized):
      * src/xterm.c (x_set_window_size):
      * src/w32term.c (x_set_window_size): Don't call
      do_pending_window_change.
      8af8355c
    • Paul Eggert's avatar
      Quoting fixes in lisp/org · 6cd2629b
      Paul Eggert authored
      * lisp/org/org-agenda.el (org-search-view, org-todo-list)
      (org-tags-view):
      * lisp/org/org-capture.el (org-capture-mode)
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
      (org-ctags-ask-append-topic):
      * lisp/org/org.el (org-time-string-to-time)
      (org-time-string-to-absolute):
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
      (org-ctags-ask-append-topic):
      * lisp/org/org.el (org-time-string-to-time)
      (org-time-string-to-absolute):
      Respect ‘text-quoting-style’ in diagnostics.
      * lisp/org/org-agenda.el (org-agenda-custom-commands)
      (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
      * lisp/org/org-capture.el (org-capture-fill-template):
      Avoid contraction in output file that might be ASCII.
      * lisp/org/org-compat.el (format-message):
      Define if not already defined, for backward compatibility.
      * lisp/org/org-src.el (org-edit-src-save):
      * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
      Escape apostrophes in diagnostics.
      6cd2629b
    • Paul Eggert's avatar
      Treat “instead” strings as docstrings · 41ed99a3
      Paul Eggert authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
      * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
      Substitute quotes in instead strings.
      41ed99a3
    • NicolasPetton's avatar
      Better documentation of seq-let · 8d76c007
      NicolasPetton authored
      * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
      documentation of seq-let.
      8d76c007
    • Paul Eggert's avatar
      * lisp/international/ccl.el: Fix quoting. · 6514fe88
      Paul Eggert authored
      6514fe88
    • Paul Eggert's avatar
      Quoting fixes in lisp/international and lisp/leim · 9ffb6ce9
      Paul Eggert authored
      * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
      * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
      * lisp/international/mule-cmds.el:
      (select-safe-coding-system-interactively, leim-list-file-name):
      * lisp/international/quail.el (quail-use-package, quail-help):
      * lisp/international/titdic-cnv.el (tit-process-header)
      (miscdic-convert):
      Respect text quoting style in doc strings and diagnostics.
      * lisp/international/quail.el (lisp/international/quail.el):
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      Escape apostrophes in doc strings.
      9ffb6ce9
    • Paul Eggert's avatar
      Make ‘text-quoting-style’ a plain defvar · d1729604
      Paul Eggert authored
      It doesn’t need customization, as it’s likely useful only by experts.
      Suggested by Stefan Monnier in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
      * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
      d1729604
    • Paul Eggert's avatar
      Quoting fixes in lisp/textmodes · 2cac2e2e
      Paul Eggert authored
      * lisp/textmodes/bibtex.el (bibtex-validate)
      (bibtex-validate-globally, bibtex-search-entries):
      * lisp/textmodes/ispell.el (ispell-command-loop):
      * lisp/textmodes/page-ext.el (search-pages, pages-directory):
      * lisp/textmodes/texinfmt.el (texinfmt-version)
      (texinfo-format-region, texinfo-format-buffer-1):
      * lisp/textmodes/two-column.el (2C-split):
      Respect text quoting style in doc strings and diagnostics.
      * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
      * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
      Escape apostrophes in doc strings.
      2cac2e2e
    • Paul Eggert's avatar
      Documentation fixes re quotes · b5335522
      Paul Eggert authored
      Prefer curved quotes in examples if users will typically see
      curved quotes when the examples run.
      Mention format-message when appropriate.
      Don’t use @code in examples.
      Quote an apostrophe with @kbd.
      b5335522
    • Paul Eggert's avatar
      Quoting fixes in lisp/progmodes · 4c24b9e3
      Paul Eggert authored
      * lisp/progmodes/cc-engine.el (c-bos-report-error):
      * lisp/progmodes/cpp.el (cpp-edit-reset):
      * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
      * lisp/progmodes/etags.el (etags-tags-apropos-additional)
      (etags-tags-apropos, list-tags, tags-apropos):
      * lisp/progmodes/executable.el (executable-set-magic):
      * lisp/progmodes/octave.el (octave-sync-function-file-names)
      (octave-help, octave-find-definition-default-filename)
      (octave-find-definition):
      Respect text quoting style in doc strings and diagnostics.
      * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
      * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
      Escape apostrophes in doc strings.
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      Use straight quoting in ASCII comment.
      * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
      (idlwave-pad-keyword):
      * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
      (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
      (vhdl-electric-semicolon, vhdl-electric-comma)
      (vhdl-electric-period, vhdl-electric-equal):
      Use directed quotes in diagnostics and doc strings.
      4c24b9e3
  3. 30 Aug, 2015 5 commits
    • Xue Fuqiao's avatar
      Minor documentation and NEWS tweak · f665b49f
      Xue Fuqiao authored
      * doc/lispintro/emacs-lisp-intro.texi (fwd-para let): Add an index
      entry.
      f665b49f
    • Glenn Morris's avatar
      ; Auto-commit of ChangeLog files. · d987e6d6
      Glenn Morris authored
      d987e6d6
    • Michael Albinus's avatar
      * lisp/net/tramp-sh.el (tramp-convert-file-attributes): · cc90c25a
      Michael Albinus authored
      Revert patch from 2015-08-24.  Tramp shall be have like for local files.
      
      * test/automated/tramp-tests.el (tramp-test18-file-attributes):
      Adapt test.
      cc90c25a
    • Paul Eggert's avatar
      Text quoting fixes in cedet, emulation, emacs-lisp · 001c7dd9
      Paul Eggert authored
      * lisp/cedet/ede.el (ede-check-project-directory):
      * lisp/cedet/semantic/analyze/debug.el:
      (semantic-analyzer-debug-insert-include-summary):
      * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
      * lisp/cedet/semantic/decorate/include.el:
      (semantic-decoration-unknown-include-describe)
      (semantic-decoration-all-include-summary):
      * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
      * lisp/emulation/edt.el (edt-load-keys):
      * lisp/emulation/viper-cmd.el:
      (viper-display-current-destructive-command)
      (viper-query-replace, viper-brac-function):
      * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
      * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
      Respect text quoting style in doc string or diagnostic.
      * lisp/cedet/mode-local.el (describe-mode-local-overload):
      Use format-message to avoid overtranslating quotes.
      * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
      Escape an apostrophe in a docstring.
      * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
      001c7dd9
    • Daniel Colascione's avatar
      Fix which-func for curly quotes: look for symbol, not message · 24ee55bf
      Daniel Colascione authored
      * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
      imenu-unavailable error symbol instead of trying to match message
      exactly.
      * lisp/imenu.el (imenu-unavailable): New error
      (imenu-unavailable-error): New function.
      24ee55bf
  4. 29 Aug, 2015 4 commits
    • Eli Zaretskii's avatar
      Fix Python tests on MS-Windows · 57e12057
      Eli Zaretskii authored
      * test/automated/python-tests.el
      (python-shell-calculate-command-1): Run python-shell-interpreter
      through shell-quote-argument before comparing with what
      python-shell-calculate-command returns.
      (python-shell-calculate-pythonpath-1)
      (python-shell-calculate-pythonpath-2)
      (python-shell-calculate-process-environment-2): Use path-separator
      instead of a literal ':'.
      (python-shell-calculate-exec-path-2)
      (python-shell-calculate-exec-path-3)
      (python-shell-calculate-exec-path-4)
      (python-shell-with-environment-1)
      (python-shell-with-environment-2): Run "/env/bin" through
      expand-file-name before comparing with exec-path.  (Bug#21375)
      57e12057
    • YAMAMOTO Mitsuharu's avatar
      Use Core Text types/functions/variables/enumerators directly · 5e5ee391
      YAMAMOTO Mitsuharu authored
      * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
      (CharacterCollection): Remove typedefs.  All uses replaced with
      definitions.
      (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
      (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
      (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
      (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
      (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
      (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
      (MAC_FONT_SLANT_TRAIT): Remove macros.  All uses replaced with
      definitions.
      (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
      (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
      (MAC_FONT_FORMAT_BITMAP)
      (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
      (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.  All
      uses replaced with definitions.
      (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
      (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
      (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault): Add
      compatibility enumerators for older versions.
      (mac_font_descriptor_create_with_attributes)
      (mac_font_descriptor_create_matching_font_descriptors)
      (mac_font_descriptor_create_matching_font_descriptor)
      (mac_font_descriptor_copy_attribute)
      (mac_font_descriptor_supports_languages)
      (mac_font_create_with_name, mac_font_get_size)
      (mac_font_copy_family_name, mac_font_copy_character_set)
      (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
      (mac_font_get_descent, mac_font_get_leading)
      (mac_font_get_underline_position)
      (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
      (mac_font_copy_non_synthetic_table): Remove macros.  All uses
      replaced with definitions.
      (mac_font_create_preferred_family_for_attributes)
      (mac_font_get_advance_width_for_glyph)
      (mac_font_get_bounding_rect_for_glyph)
      (mac_font_create_available_families, mac_font_shape): Remove
      macros for renamed functions.
      (mac_nsctfont_copy_font_descriptor): Remove unused macro.
      * src/macterm.m (mac_font_descriptor_supports_languages): Rename
      from mac_ctfont_descriptor_supports_languages.
      (mac_font_create_preferred_family_for_attributes): Rename from
      mac_ctfont_create_preferred_family_for_attributes.
      (mac_font_get_advance_width_for_glyph): Rename from
      mac_ctfont_get_advance_width_for_glyph.  Use
      kCTFontOrientationDefault also for older versions.
      (mac_font_get_bounding_rect_for_glyph): Rename from
      mac_ctfont_get_bounding_rect_for_glyph. Use
      kCTFontOrientationDefault also for older versions.
      (mac_font_create_available_families): Rename from
      mac_ctfont_create_available_families.
      (mac_font_equal_in_postscript_name): Rename from
      mac_ctfont_equal_in_postscript_name.  All uses changed.
      (mac_font_create_line_with_string_and_font): Rename from
      mac_ctfont_create_line_with_string_and_font.  All uses changed.
      (mac_font_shape): Rename from mac_ctfont_shape.
      (mac_font_family_compare): Remove unused declaration.
      5e5ee391
    • Paul Eggert's avatar
      Fix minor text quoting in calc, calendar, vc · 5e63c842
      Paul Eggert authored
      * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
      * lisp/calc/calc-help.el (calc-j-prefix-help):
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
      Escape an apostrophe in a docstring.
      * lisp/calc/calc-forms.el (calc-hms-notation):
      * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
      Escape an apostrophe in a diagnostic.
      * lisp/calc/calc-misc.el (calc-help):
      * lisp/calendar/diary-lib.el (diary-include-files):
      * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
      * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/ediff-merg.el (ediff-re-merge):
      * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
      * lisp/vc/ediff-util.el (ediff-test-save-region)
      (ediff-status-info):
      * lisp/vc/ediff.el (ediff-merge-revisions)
      (ediff-merge-revisions-with-ancestor):
      * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      Respect text quoting style in doc string or diagnostic.
      * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
      * lisp/vc/add-log.el (change-log-goto-source):
      Avoid double-formatting.
      * lisp/vc/ediff-init.el (format-message):
      New backward-compatibility alias.
      5e63c842
    • Paul Eggert's avatar
      Fix minor text quoting problems in lisp top level · ff441d35
      Paul Eggert authored
      * lisp/apropos.el (apropos-describe-plist):
      * lisp/cus-theme.el (customize-themes):
      * lisp/dired.el (dired-log):
      * lisp/help-fns.el (describe-variable):
      * lisp/hexl.el (hexl-insert-multibyte-char):
      * lisp/info.el (Info-finder-find-node):
      * lisp/json.el (json-read-string):
      * lisp/novice.el (disabled-command-function)
      (disabled-command-function):
      * lisp/startup.el (normal-mouse-startup-screen):
      * lisp/woman.el (WoMan-log, WoMan-warn):
      Respect text quoting style in doc string or diagnostic.
      * lisp/replace.el (replace-character-fold):
      * src/syntax.c (Fmodify_syntax_entry):
      Escape an apostrophe in a docstring.
      * lisp/tempo.el (tempo-define-template):
      Remove confusing apostrophe from docstring.
      * lisp/whitespace.el (whitespace-mark-x):
      Use directed quotes in docstring.
      ff441d35