]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years agoRestore some of the quoting in the manuals
Eli Zaretskii [Wed, 16 Sep 2015 09:56:45 +0000 (12:56 +0300)]
Restore some of the quoting in the manuals

* doc/lispref/windows.texi (Coordinates and Windows)
(Coordinates and Windows):
* doc/lispref/variables.texi (Lexical Binding)
(File Local Variables):
* doc/lispref/text.texi (Format Properties):
* doc/lispref/symbols.texi (Symbol Components):
* doc/lispref/strings.texi (Creating Strings):
* doc/lispref/sequences.texi (Sequence Functions):
* doc/lispref/searching.texi (Regexp Special, Regexp Search)
(Search and Replace):
* doc/lispref/processes.texi (Bindat Spec):
* doc/lispref/os.texi (Idle Timers):
* doc/lispref/objects.texi (Basic Char Syntax):
* doc/lispref/numbers.texi (Float Basics, Random Numbers):
* doc/lispref/nonascii.texi (Character Properties):
* doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
(Mode Line Variables):
* doc/lispref/minibuf.texi (Text from Minibuffer):
* doc/lispref/loading.texi (Autoload):
* doc/lispref/keymaps.texi (Controlling Active Maps):
* doc/lispref/frames.texi (Frame Layout, Size and Position)
(Size Parameters, Implied Frame Resizing):
* doc/lispref/files.texi (Changing Files, Magic File Names):
* doc/lispref/eval.texi (Self-Evaluating Forms):
* doc/lispref/display.texi (Progress, Abstract Display)
(Abstract Display Example, Bidirectional Display):
* doc/lispref/commands.texi (Event Mod):
* doc/emacs/windows.texi (Displaying Buffers):
* doc/emacs/trouble.texi (Bug Criteria, Checklist):
* doc/emacs/text.texi (Enriched Text):
* doc/emacs/programs.texi (MixedCase Words):
* doc/emacs/picture-xtra.texi (Insert in Picture)
(Tabs in Picture):
* doc/emacs/misc.texi (Emacs Server, Printing):
* doc/emacs/mini.texi (Minibuffer History):
* doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
(Pulling / Pushing):
* doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
* doc/emacs/help.texi (Help, Help Echo):
* doc/emacs/glossary.texi (Glossary):
* doc/emacs/frames.texi (Mouse Commands, Creating Frames)
(Frame Commands):
* doc/emacs/files.texi (Reverting, Saving, Directories):
* doc/emacs/entering.texi (Exiting):
* doc/emacs/emacs.texi (Top):
* doc/emacs/cmdargs.texi (Window Size X, Icons X):
* doc/emacs/anti.texi (Antinews): Restore quoting of text where
appropriate or replace quoting with @dfn.
* doc/misc/ediff.texi (Window and Frame Configuration):
* doc/lispref/processes.texi (Network Feature Testing):
* doc/lispref/display.texi (Display Margins): Quote the phrase
after "a.k.a." where appropriate.

8 years agoClarify reftex-extra-bindings docs.
Tassilo Horn [Wed, 16 Sep 2015 08:36:01 +0000 (10:36 +0200)]
Clarify reftex-extra-bindings docs.

* lisp/textmodes/reftex-vars.el (reftex-extra-bindings): Document that
the variable only has an effect at load-time.
* doc/misc/reftex.texi (Key Bindings): Ditto.

8 years agoFix search argument in ‘lisp--el-match-keyword’ (Bug#21492) (Bug#21493)
Daniel McClanahan [Wed, 16 Sep 2015 07:02:35 +0000 (09:02 +0200)]
Fix search argument in ‘lisp--el-match-keyword’ (Bug#21492) (Bug#21493)

* lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
search argument.  (Bug#21492) (Bug#21493)

Copyright-paperwork-exempt: yes

8 years agoAdd pretty symbols for \qquad and \varrho.
Tassilo Horn [Wed, 16 Sep 2015 06:44:36 +0000 (08:44 +0200)]
Add pretty symbols for \qquad and \varrho.

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add pretty
symbols for \qquad and \varrho.

8 years agoAdd new functions for the root mean square of a (Calc) vector
Jay Belanger [Wed, 16 Sep 2015 00:53:06 +0000 (19:53 -0500)]
Add new functions for the root mean square of a (Calc) vector

* lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms):
New functions.
* lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
`calc-vector-rms', add autoloads for `calc-vector-rms' and
`calcFunc-rms'.
* lisp/calc/calc-map.el (calc-u-oper-keys):  Add entry for
`calcFunc-rms'.
* lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
`calc-vector-rms'.
* doc/misc/calc.texi (Single-Variable Statistics): Document the rms
command.

8 years agoAdd monotone EDE generic project
Stephen Leake [Tue, 15 Sep 2015 19:53:42 +0000 (14:53 -0500)]
Add monotone EDE generic project

* lisp/cedet/ede/generic.el (ede-enable-generic-projects): Add monotone
generic project.

8 years agoRevert premature commit
Stephen Leake [Tue, 15 Sep 2015 19:49:43 +0000 (14:49 -0500)]
Revert premature commit

* doc/lispref/files.texi: Revert premature commit of change to
file-name-all-completions.

8 years agoFix a bug in elisp--xref-find-definitions related to cl-generic defaults
Stephen Leake [Tue, 15 Sep 2015 19:40:49 +0000 (14:40 -0500)]
Fix a bug in elisp--xref-find-definitions related to cl-generic defaults

* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
with cl-generic defaults.
(elisp--xref-find-references): Add doc string.

* test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
tests to find bug.

8 years agoFix bugs in eieio-oref-default related to class symbols
Stephen Leake [Sun, 13 Sep 2015 13:59:07 +0000 (08:59 -0500)]
Fix bugs in eieio-oref-default related to class symbols

* lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
(eieio-oref-default): Handle class properly.

8 years ago; Spelling fixes
Paul Eggert [Tue, 15 Sep 2015 19:19:46 +0000 (12:19 -0700)]
; Spelling fixes

8 years agoQuote “fullboth” when defining it
Paul Eggert [Tue, 15 Sep 2015 19:11:14 +0000 (12:11 -0700)]
Quote “fullboth” when defining it

* doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
and rewrite the containing paragraph, which was awkward.  (Bug#21472).

8 years agoMinor doc fix in emacs/ack.texi
Eli Zaretskii [Tue, 15 Sep 2015 18:52:46 +0000 (21:52 +0300)]
Minor doc fix in emacs/ack.texi

* doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
first argument.

8 years agoAdapt tests in auto-revert-tests.el
Michael Albinus [Tue, 15 Sep 2015 18:12:34 +0000 (20:12 +0200)]
Adapt tests in auto-revert-tests.el

* test/automated/auto-revert-tests.el (auto-revert--timeout):
Make it a defconst.
(auto-revert--wait-for-revert): New defun.
(auto-revert-test00-auto-revert-mode)
(auto-revert-test01-auto-revert-tail-mode)
(auto-revert-test02-auto-revert-mode-dired): Use it.

8 years ago* lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const
Stefan Monnier [Tue, 15 Sep 2015 16:44:35 +0000 (12:44 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const

Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
(cl-lib-fdefs): Add defgeneric.
(cl-kw): Add all elements of eieio-kw and cl-lib-kw.
(eieio-kw, cl-lib-kw, el-kw): Remove.

8 years agoQuote less in manuals
Paul Eggert [Tue, 15 Sep 2015 15:46:48 +0000 (08:46 -0700)]
Quote less in manuals

The manuals often used quotes ``...'' when it is better to use @dfn or
@code or capitalized words or no quoting at all.  For example, there is
no need for the `` and '' in “if a variable has one effect for
@code{nil} values and another effect for ``non-@code{nil}'' values”.
Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
unnecessary quoting like this, and to use @dfn etc. instead when called
for (Bug#21472).

8 years agolisp/custom.el (load-theme): Only compute hash when needed
Mark Oteiza [Sun, 13 Sep 2015 18:12:22 +0000 (14:12 -0400)]
lisp/custom.el (load-theme): Only compute hash when needed

8 years agoPacify --enable-gcc-warnings
Paul Eggert [Tue, 15 Sep 2015 14:28:53 +0000 (07:28 -0700)]
Pacify --enable-gcc-warnings

* src/inotify.c (report_inotify_error): Declare it _Noreturn.

8 years agoImprove error reports in inotify.c
Michael Albinus [Tue, 15 Sep 2015 12:57:22 +0000 (14:57 +0200)]
Improve error reports in inotify.c

* src/inotify.c (report_inotify_error): New function.  Clone of
report_w32notify_error.
(inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
(Finotify_rm_watch): Use it.

8 years agoFix the file-notify tests for watch validation on w32
Eli Zaretskii [Tue, 15 Sep 2015 12:46:26 +0000 (15:46 +0300)]
Fix the file-notify tests for watch validation on w32

* test/automated/file-notify-tests.el
(file-notify-test04-file-validity): Move the directory deletion
out of the file-notify--test-with-events macro.
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity): Enlarge the timeout of
read-event to 0.5, as 0.1 is borderline on w32.  (Bug#21432)

8 years agoUse OPEN BOX instead of space for \quad.
Tassilo Horn [Tue, 15 Sep 2015 12:10:48 +0000 (14:10 +0200)]
Use OPEN BOX instead of space for \quad.

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
character for \quad instead of a space.

8 years ago; Fix last commit log entry.
Eli Zaretskii [Tue, 15 Sep 2015 10:43:47 +0000 (06:43 -0400)]
; Fix last commit log entry.

8 years ago; make change-history-commit
Eli Zaretskii [Tue, 15 Sep 2015 10:41:43 +0000 (06:41 -0400)]
; make change-history-commit

8 years agoAdd missing *.pbm images
Eli Zaretskii [Tue, 15 Sep 2015 10:27:50 +0000 (13:27 +0300)]
Add missing *.pbm images

* etc/images/connect.pbm: New file.
* etc/images/custom/down-pushed.pbm: New file.
* etc/images/custom/down.pbm: New file.
* etc/images/custom/right-pushed.pbm: New file.
* etc/images/custom/right.pbm: New file.
* etc/images/describe.pbm: New file.
* etc/images/disconnect.pbm: New file.
* etc/images/ezimage/bits.pbm: New file.
* etc/images/ezimage/bitsbang.pbm: New file.
* etc/images/ezimage/box-minus.pbm: New file.
* etc/images/ezimage/box-plus.pbm: New file.
* etc/images/ezimage/box.pbm: New file.
* etc/images/ezimage/checkmark.pbm: New file.
* etc/images/ezimage/dir-minus.pbm: New file.
* etc/images/ezimage/dir-plus.pbm: New file.
* etc/images/ezimage/dir.pbm: New file.
* etc/images/ezimage/doc-minus.pbm: New file.
* etc/images/ezimage/doc-plus.pbm: New file.
* etc/images/ezimage/doc.pbm: New file.
* etc/images/ezimage/info.pbm: New file.
* etc/images/ezimage/key.pbm: New file.
* etc/images/ezimage/label.pbm: New file.
* etc/images/ezimage/lock.pbm: New file.
* etc/images/ezimage/mail.pbm: New file.
* etc/images/ezimage/page-minus.pbm: New file.
* etc/images/ezimage/page-plus.pbm: New file.
* etc/images/ezimage/page.pbm: New file.
* etc/images/ezimage/tag-gt.pbm: New file.
* etc/images/ezimage/tag-minus.pbm: New file.
* etc/images/ezimage/tag-plus.pbm: New file.
* etc/images/ezimage/tag-type.pbm: New file.
* etc/images/ezimage/tag-v.pbm: New file.
* etc/images/ezimage/tag.pbm: New file.
* etc/images/ezimage/unlock.pbm: New file.
* etc/images/gnus/important.pbm: New file.
* etc/images/gnus/mail-send.pbm: New file.
* etc/images/gnus/receipt.pbm: New file.
* etc/images/gnus/toggle-subscription.pbm: New file.
* etc/images/gnus/unimportant.pbm: New file.
* etc/images/gud/all.pbm: New file.
* etc/images/gud/rcont.pbm: New file.
* etc/images/gud/recstart.pbm: New file.
* etc/images/gud/recstop.pbm: New file.
* etc/images/gud/rfinish.pbm: New file.
* etc/images/gud/rnext.pbm: New file.
* etc/images/gud/rnexti.pbm: New file.
* etc/images/gud/rstep.pbm: New file.
* etc/images/gud/rstepi.pbm: New file.
* etc/images/gud/thread.pbm: New file.
* etc/images/lock-broken.pbm: New file.
* etc/images/lock-ok.pbm: New file.
* etc/images/lock.pbm: New file.
* etc/images/mail/copy.pbm: New file.
* etc/images/mail/forward.pbm: New file.
* etc/images/mail/not-spam.pbm: New file.
* etc/images/mail/outbox.pbm: New file.
* etc/images/mail/preview.pbm: New file.
* etc/images/mail/save-draft.pbm: New file.
* etc/images/mh-logo.pbm: New file.
* etc/images/mpc/add.pbm: New file.
* etc/images/mpc/ffwd.pbm: New file.
* etc/images/mpc/next.pbm: New file.
* etc/images/mpc/pause.pbm: New file.
* etc/images/mpc/play.pbm: New file.
* etc/images/mpc/prev.pbm: New file.
* etc/images/mpc/rewind.pbm: New file.
* etc/images/mpc/stop.pbm: New file.
* etc/images/redo.pbm: New file.
* etc/images/smilies/braindamaged.pbm: New file.
* etc/images/smilies/cry.pbm: New file.
* etc/images/smilies/dead.pbm: New file.
* etc/images/smilies/evil.pbm: New file.
* etc/images/smilies/forced.pbm: New file.
* etc/images/smilies/grin.pbm: New file.
* etc/images/smilies/indifferent.pbm: New file.
* etc/images/sort-ascending.pbm: New file.
* etc/images/sort-column-ascending.pbm: New file.
* etc/images/sort-criteria.pbm: New file.
* etc/images/sort-descending.pbm: New file.
* etc/images/sort-row-ascending.pbm: New file.
* etc/images/unchecked.pbm: New file.
* etc/images/zoom-in.pbm: New file.
*: New file.
: New file.
: New file.
* Please enter the commit message for your changes. Lines starting: New file.
* with '#' will be ignored, and an empty message aborts the commit.: New file.
* On branch master: New file.
* Your branch is up-to-date with 'origin/master'.: New file.
*: New file.
* Changes to be committed:: New file.
* modified:   etc/images/README: New file.
* etc/images/connect.pbm: New file.
* etc/images/custom/down-pushed.pbm: New file.
* etc/images/custom/down.pbm: New file.
* etc/images/custom/right-pushed.pbm: New file.
* etc/images/custom/right.pbm: New file.
* etc/images/describe.pbm: New file.
* etc/images/disconnect.pbm: New file.
* etc/images/ezimage/bits.pbm: New file.
* etc/images/ezimage/bitsbang.pbm: New file.
* etc/images/ezimage/box-minus.pbm: New file.
* etc/images/ezimage/box-plus.pbm: New file.
* etc/images/ezimage/box.pbm: New file.
* etc/images/ezimage/checkmark.pbm: New file.
* etc/images/ezimage/dir-minus.pbm: New file.
* etc/images/ezimage/dir-plus.pbm: New file.
* etc/images/ezimage/dir.pbm: New file.
* etc/images/ezimage/doc-minus.pbm: New file.
* etc/images/ezimage/doc-plus.pbm: New file.
* etc/images/ezimage/doc.pbm: New file.
* etc/images/ezimage/info.pbm: New file.
* etc/images/ezimage/key.pbm: New file.
* etc/images/ezimage/label.pbm: New file.
* etc/images/ezimage/lock.pbm: New file.
* etc/images/ezimage/mail.pbm: New file.
* etc/images/ezimage/page-minus.pbm: New file.
* etc/images/ezimage/page-plus.pbm: New file.
* etc/images/ezimage/page.pbm: New file.
* etc/images/ezimage/tag-gt.pbm: New file.
* etc/images/ezimage/tag-minus.pbm: New file.
* etc/images/ezimage/tag-plus.pbm: New file.
* etc/images/ezimage/tag-type.pbm: New file.
* etc/images/ezimage/tag-v.pbm: New file.
* etc/images/ezimage/tag.pbm: New file.
* etc/images/ezimage/unlock.pbm: New file.
* etc/images/gnus/important.pbm: New file.
* etc/images/gnus/mail-send.pbm: New file.
* etc/images/gnus/receipt.pbm: New file.
* etc/images/gnus/toggle-subscription.pbm: New file.
* etc/images/gnus/unimportant.pbm: New file.
* etc/images/gud/all.pbm: New file.
* etc/images/gud/rcont.pbm: New file.
* etc/images/gud/recstart.pbm: New file.
* etc/images/gud/recstop.pbm: New file.
* etc/images/gud/rfinish.pbm: New file.
* etc/images/gud/rnext.pbm: New file.
* etc/images/gud/rnexti.pbm: New file.
* etc/images/gud/rstep.pbm: New file.
* etc/images/gud/rstepi.pbm: New file.
* etc/images/gud/thread.pbm: New file.
* etc/images/lock-broken.pbm: New file.
* etc/images/lock-ok.pbm: New file.
* etc/images/lock.pbm: New file.
* etc/images/mail/copy.pbm: New file.
* etc/images/mail/forward.pbm: New file.
* etc/images/mail/not-spam.pbm: New file.
* etc/images/mail/outbox.pbm: New file.
* etc/images/mail/preview.pbm: New file.
* etc/images/mail/save-draft.pbm: New file.
* etc/images/mh-logo.pbm: New file.
* etc/images/mpc/add.pbm: New file.
* etc/images/mpc/ffwd.pbm: New file.
* etc/images/mpc/next.pbm: New file.
* etc/images/mpc/pause.pbm: New file.
* etc/images/mpc/play.pbm: New file.
* etc/images/mpc/prev.pbm: New file.
* etc/images/mpc/rewind.pbm: New file.
* etc/images/mpc/stop.pbm: New file.
* etc/images/redo.pbm: New file.
* etc/images/smilies/braindamaged.pbm: New file.
* etc/images/smilies/cry.pbm: New file.
* etc/images/smilies/dead.pbm: New file.
* etc/images/smilies/evil.pbm: New file.
* etc/images/smilies/forced.pbm: New file.
* etc/images/smilies/grin.pbm: New file.
* etc/images/smilies/indifferent.pbm: New file.
* etc/images/sort-ascending.pbm: New file.
* etc/images/sort-column-ascending.pbm: New file.
* etc/images/sort-criteria.pbm: New file.
* etc/images/sort-descending.pbm: New file.
* etc/images/sort-row-ascending.pbm: New file.
* etc/images/unchecked.pbm: New file.
* etc/images/zoom-in.pbm: New file.
* etc/images/README: Update instructions for PBM files.

8 years agoAdd separator.pbm tool-bar image
Eli Zaretskii [Tue, 15 Sep 2015 09:00:01 +0000 (12:00 +0300)]
Add separator.pbm tool-bar image

* etc/images/separator.pbm: New file.  Having it avoids the side
effect of changing the tool-bar height when the default font's size
changes and XPM image support is not available, due to the SPC
characters that are left in the Lisp string used to display the tool
bar, because there are no images to display instead of those SPC
characters.

8 years agoMake show-paren-match face visible on mono-color displays
Eli Zaretskii [Tue, 15 Sep 2015 07:22:35 +0000 (10:22 +0300)]
Make show-paren-match face visible on mono-color displays

* lisp/faces.el (show-paren-match): Use the underline face for
mono-color displays.  (Bug#21481)

8 years agoDon’t double-encode non-ASCII mail clipboard
Paul Eggert [Mon, 14 Sep 2015 21:09:24 +0000 (14:09 -0700)]
Don’t double-encode non-ASCII mail clipboard

* lisp/mail/mailclient.el (mailclient-send-it):
Also fix the case when mailclient-place-body-on-clipboard-flag
is non-nil.  Problem reported by Eli Zaretskii (Bug#21471#37).

8 years agoAdaot file-notify-tests.el test cases
Michael Albinus [Mon, 14 Sep 2015 20:15:20 +0000 (22:15 +0200)]
Adaot file-notify-tests.el test cases

* lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.

* src/inotify.c (Finotify_valid_p): Adapt docstring.

* test/automated/file-notify-tests.el ()
(file-notify-test03-autorevert)
(file-notify-test04-file-validity)
(file-notify-test04-file-validity-remote)
(file-notify-test05-dir-validity)
(file-notify-test05-dir-validity-remote): Adapt docstring.
(file-notify-test04-file-validity): Let events arrive before
calling final `file-notify-valid-p'.  Do not ignore errors.
(file-notify-test05-dir-validity): Do not manipulate
`temporary-file-directory', it isn't necessary.  Let events arrive
before calling final `file-notify-valid-p'.  Do not ignore errors.

8 years agoDon’t double-encode non-ASCII for mail client
Paul Eggert [Mon, 14 Sep 2015 16:31:23 +0000 (09:31 -0700)]
Don’t double-encode non-ASCII for mail client

* lisp/mail/mailclient.el (mailclient-encode-string-as-url):
Use RFC 6068’s list of unreserved characters.
(mailclient-send-it): When encoding the body as a URL,
first decode it as per Content-Type: and Content-Transfer-Encoding:,
as URLs must use percent-encoded UTF-8 (Bug#21471).

* doc/misc/url.texi (mailto): Update RFC number.

8 years ago* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist
Stefan Monnier [Mon, 14 Sep 2015 13:26:54 +0000 (09:26 -0400)]
* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist

8 years agoReplace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.
Alan Mackenzie [Mon, 14 Sep 2015 12:44:09 +0000 (12:44 +0000)]
Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.

(c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
`cadr/car'.

8 years agoClarify documentation of char-table extra slots
Eli Zaretskii [Mon, 14 Sep 2015 10:04:12 +0000 (13:04 +0300)]
Clarify documentation of char-table extra slots

* doc/lispref/sequences.texi (Char-Tables): Clarify that extra
slot numbers are zero-based.  (Bug#21467)

8 years agoElisp mode: Make font-lock and imenu handle escaped characters in symbols
Alan Mackenzie [Sat, 12 Sep 2015 08:54:44 +0000 (08:54 +0000)]
Elisp mode: Make font-lock and imenu handle escaped characters in symbols

Fixes debbugs#21449.

lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
(lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
(lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
(lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
Insert "\\|\\\\." into regexps which match symbols.

8 years agoImprove the doc string of w32notify-valid-p
Eli Zaretskii [Mon, 14 Sep 2015 09:41:51 +0000 (12:41 +0300)]
Improve the doc string of w32notify-valid-p

* src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
that removing a watch makes its object invalid.

8 years agoFix tests for file-notify-valid-p.
Tassilo Horn [Mon, 14 Sep 2015 07:52:31 +0000 (09:52 +0200)]
Fix tests for file-notify-valid-p.

8 years agoReport file-notify-error in w32notify.c
Eli Zaretskii [Mon, 14 Sep 2015 07:31:17 +0000 (10:31 +0300)]
Report file-notify-error in w32notify.c

* src/w32notify.c (report_w32notify_error): New function.
(Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
errors, instead of calling report_file_error.  (Bug#21432)

8 years agoImplement w32notify-valid-p
Eli Zaretskii [Mon, 14 Sep 2015 07:02:04 +0000 (10:02 +0300)]
Implement w32notify-valid-p

* src/w32notify.c (Fw32notify_valid_p): New function.  (Bug#21432)

* lisp/filenotify.el (w32notify-valid-p): No longer an alias for
'identity'.

8 years agoTest file-notify-valid-p.
Tassilo Horn [Mon, 14 Sep 2015 06:03:11 +0000 (08:03 +0200)]
Test file-notify-valid-p.

* test/automated/file-notify-tests.el
(file-notify-test04-file-validity, file-notify-test05-dir-validity): New
tests.

8 years agoFix markup in ELisp manual
Eli Zaretskii [Sun, 13 Sep 2015 19:56:38 +0000 (22:56 +0300)]
Fix markup in ELisp manual

* doc/lispref/frames.texi (Font and Color Parameters): Fix markup
of the 'alpha' parameter value.  (Bug#21470)

8 years agoIntroduce `file-notify-valid-p'
Michael Albinus [Sun, 13 Sep 2015 19:16:40 +0000 (21:16 +0200)]
Introduce `file-notify-valid-p'

* lisp/filenotify.el (file-notify-valid-p): New defun.
(gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
<file-notify-valid-p>: Add handler.

* lisp/net/tramp.el (tramp-file-name-for-operation):
Add `file-notify-valid-p'.
(tramp-handle-file-notify-valid-p): New defun.

* src/inotify.c (Finotify_valid_p): New defun.
(syms_of_inotify): Declare Sinotify_valid_p.

8 years agoPort Unicode char detection to FreeBSD+svgalib
Paul Eggert [Sun, 13 Sep 2015 18:55:28 +0000 (11:55 -0700)]
Port Unicode char detection to FreeBSD+svgalib

Problem reported by Ashish SHUKLA in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
* configure.ac: Check for struct unipair.unicode instead of for
<linux/kd.h>, since that’s more specific to what the code actually needs.
* src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.

8 years ago* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
Paul Eggert [Sun, 13 Sep 2015 16:13:22 +0000 (09:13 -0700)]
* src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).

8 years agoFix vertical cursor motion across overlay strings with newlines
Eli Zaretskii [Sun, 13 Sep 2015 10:15:55 +0000 (13:15 +0300)]
Fix vertical cursor motion across overlay strings with newlines

* src/indent.c (Fvertical_motion): Don't leave point in the middle
of an overlay string with newlines, as that will position the
cursor after the string at whatever column is there.  (Bug#21468)

8 years agoFix tests in file-notify-tests.el
Michael Albinus [Sat, 12 Sep 2015 08:37:32 +0000 (10:37 +0200)]
Fix tests in file-notify-tests.el

* test/automated/file-notify-tests.el: Remove Tramp declarations.
(file-notify-test00-availability): Print remote command w/o Tramp
internal functions.
(file-notify-test02-events, file-notify-test02-events-remote):
Adapt docstring.
(file-notify-test03-autorevert): Use `format-message' when
inspecting *Messages* buffer.

8 years agoBind inhibit-modification-hooks rather than a/b-c-f
Stefan Monnier [Sat, 12 Sep 2015 04:30:02 +0000 (00:30 -0400)]
Bind inhibit-modification-hooks rather than a/b-c-f

* lisp/wid-edit.el (widget-editable-list-insert-before)
(widget-editable-list-delete-at):
* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
(cperl-font-lock-unfontify-region-function):
* lisp/progmodes/antlr-mode.el (save-buffer-state-x):
* lisp/obsolete/longlines.el (longlines-mode):
* lisp/obsolete/fast-lock.el (save-buffer-state):
* lisp/mouse.el (mouse-save-then-kill-delete-region):
* lisp/gnus/message.el (message-hide-headers):
* lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
* lisp/ibuffer.el (ibuffer-update-title-and-summary)
(ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
than after/before-change-functions to nil.

8 years ago(jit-lock-deferred-fontify): Pay attention to skipped redisplays
Stefan Monnier [Sat, 12 Sep 2015 00:32:33 +0000 (20:32 -0400)]
(jit-lock-deferred-fontify): Pay attention to skipped redisplays

* lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
the buffers, even if the forced redisplay is interrupted.

8 years ago* lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
Stefan Monnier [Sat, 12 Sep 2015 00:30:31 +0000 (20:30 -0400)]
* lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects

8 years agoMerge syntax-propertize--done and parse-sexp-propertize-done
Stefan Monnier [Sat, 12 Sep 2015 00:00:05 +0000 (20:00 -0400)]
Merge syntax-propertize--done and parse-sexp-propertize-done

* lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
(syntax-propertize): Set syntax-propertize--done even if
syntax-propertize-function is nil.  Avoid recursive invocations.
(syntax-propertize-chunks): New var.
(internal--syntax-propertize): Use it.  Rename from syntax--jit-propertize.
Simplify.
(parse-sexp-propertize-function): Don't set any more.

* src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
(parse_sexp_propertize): Don't assume charpos is not yet propertized.
Call Qinternal__syntax_propertize instead of
Vparse_sexp_propertize_function.  Truncate e_property if needed.
(update_syntax_table_forward): Streamline.
(syms_of_syntax): Define Qinternal__syntax_propertize.
(syntax_propertize__done): Rename from parse_sexp_propertize_done.

8 years agoPrefer straight quoting in some text files
Paul Eggert [Fri, 11 Sep 2015 18:04:24 +0000 (11:04 -0700)]
Prefer straight quoting in some text files

Mostly this just changes ` to ' in static text.  Some exceptions:
* INSTALL.REPO: Use curved quotes, as the diagnostic in question
typically does that now.
* admin/quick-install-emacs (TRY, top level):
Use straight quoting in diagnostics.
* src/README: Fix working-directory confusion.

8 years ago* CONTRIBUTE: Move send-email here from git-workflow.
Paul Eggert [Fri, 11 Sep 2015 15:34:46 +0000 (08:34 -0700)]
* CONTRIBUTE: Move send-email here from git-workflow.

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Fri, 11 Sep 2015 09:40:47 +0000 (11:40 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

8 years agoImprove file notifications in Tramp
Michael Albinus [Fri, 11 Sep 2015 09:40:33 +0000 (11:40 +0200)]
Improve file notifications in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Set proper events to watch for.
(tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
watched events.

8 years agoFix NS build with --enable-checking='glyphs'
Eli Zaretskii [Fri, 11 Sep 2015 07:56:18 +0000 (10:56 +0300)]
Fix NS build with --enable-checking='glyphs'

* src/nsfns.m (unwind_create_frame): Make the preprocessor
conditionals for referencing 'dpyinfo' consistent throughout the
function.  (Bug#21426)

8 years agoAdd seq-find
Nicolas Petton [Thu, 10 Sep 2015 21:49:56 +0000 (23:49 +0200)]
Add seq-find

This function is similar to `seq-some' but returns the found element.
In the cases where nil can be the found element, a sentinel optional
argument can be provided to avoid ambiguities.

* lisp/emacs-lisp/seq.el (seq-find): New function.
* test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
* doc/lispref/sequences.texi (Sequence Functions): Add documentation for
seq-find.

8 years agoDocument file-notify--test-with-events.
Tassilo Horn [Thu, 10 Sep 2015 19:11:18 +0000 (21:11 +0200)]
Document file-notify--test-with-events.

* test/automated/file-notify-tests.el (file-notify--test-with-events):
Add docstring.

8 years agoReport used native library in file-notify-tests.el
Michael Albinus [Thu, 10 Sep 2015 18:01:33 +0000 (20:01 +0200)]
Report used native library in file-notify-tests.el

* test/automated/file-notify-tests.el
(tramp-get-remote-gvfs-monitor-dir)
(tramp-get-remote-inotifywait): Declare them.
(file-notify-test00-availability): Print used native library.

8 years agolisp/mpc.el (mpc--proc-connect): use file-name-absolute-p
Mark Oteiza [Mon, 7 Sep 2015 22:01:00 +0000 (18:01 -0400)]
lisp/mpc.el (mpc--proc-connect): use file-name-absolute-p

8 years agolisp/mpc.el (mpc-file-local-copy): check for absolute path
Mark Oteiza [Mon, 7 Sep 2015 21:57:46 +0000 (17:57 -0400)]
lisp/mpc.el (mpc-file-local-copy): check for absolute path

8 years agolisp/mpc.el (mpc-file-local-copy): check more config locations
Mark Oteiza [Mon, 7 Sep 2015 21:56:06 +0000 (17:56 -0400)]
lisp/mpc.el (mpc-file-local-copy): check more config locations

8 years agoImprove documentation of categories
Eli Zaretskii [Thu, 10 Sep 2015 17:39:02 +0000 (20:39 +0300)]
Improve documentation of categories

* doc/lispref/syntax.texi (Categories): Clarify the example of
using define-category and modify-category-entry.  (Bug#21448)

8 years agoRevert some stray curved quotes I missed earlier
Paul Eggert [Thu, 10 Sep 2015 17:10:54 +0000 (10:10 -0700)]
Revert some stray curved quotes I missed earlier

Problem reported by David Kastrup in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
* lisp/international/mule-cmds.el (leim-list-header):
Use format-message with an ASCII-only format.

8 years agoPrefer NUMBERP to spelling it out
Paul Eggert [Thu, 10 Sep 2015 16:52:42 +0000 (09:52 -0700)]
Prefer NUMBERP to spelling it out

* src/editfns.c (styled_format):
* src/frame.h (NUMVAL):
* src/image.c (parse_image_spec):
* src/lisp.h (CHECK_NUMBER_OR_FLOAT)
(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
* src/process.c (Fsignal_process):
* src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
* src/xfaces.c (check_lface_attrs):
* src/xselect.c (x_fill_property_data, x_send_client_event):
Use NUMBERP rather than INTEGERP || FLOATP.

8 years ago; Spelling fix
Paul Eggert [Thu, 10 Sep 2015 15:49:14 +0000 (08:49 -0700)]
; Spelling fix

8 years agoImprove file-notify-tests
Tassilo Horn [Thu, 10 Sep 2015 15:18:15 +0000 (17:18 +0200)]
Improve file-notify-tests

* test/automated/file-notify-tests.el: Use lexical-binding
(file-notify--test-cleanup): New function.
(file-notify-test00-availability, file-notify-test01-add-watch)
(file-notify-test02-events, file-notify-test03-autorevert): Use it.
(file-notify--test-with-events): New macro.
(file-notify-test02-events): Use it.

8 years agoAdd patch-sending instructions to git-workflow
Paul Eggert [Thu, 10 Sep 2015 09:43:59 +0000 (02:43 -0700)]
Add patch-sending instructions to git-workflow

From a suggestion by Mitchel Humpherys in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
* admin/notes/git-workflow (Sending patches): New section.

8 years agoPort to GIFLIB 5.0.6 and later
Paul Eggert [Thu, 10 Sep 2015 09:39:13 +0000 (02:39 -0700)]
Port to GIFLIB 5.0.6 and later

Problem reported by Mitchel Humpherys in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
* src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
(GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
(gif_load) [HAVE_GIF]: Use it.

8 years ago* lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
Glenn Morris [Thu, 10 Sep 2015 06:23:27 +0000 (23:23 -0700)]
* lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.

8 years ago* test/automated/file-notify-tests.el (file-notify-test02-events):
Glenn Morris [Thu, 10 Sep 2015 01:18:36 +0000 (21:18 -0400)]
* test/automated/file-notify-tests.el (file-notify-test02-events):

Fix recent change.

8 years agoRefix movemail GCC pacification
Paul Eggert [Wed, 9 Sep 2015 22:40:49 +0000 (15:40 -0700)]
Refix movemail GCC pacification

Problem reported by Ken Brown in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
* lib-src/movemail.c (main): Fix previous change.

8 years ago(time-to-seconds, time-less-p): Mark unused vars with underscore
Stefan Monnier [Wed, 9 Sep 2015 20:31:58 +0000 (16:31 -0400)]
(time-to-seconds, time-less-p): Mark unused vars with underscore

* lisp/calendar/time-date.el (time-to-seconds, time-less-p):
Mark unused vars with underscore.

8 years ago* src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
Stefan Monnier [Wed, 9 Sep 2015 20:22:29 +0000 (16:22 -0400)]
* src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...

(parse_sexp_propertize): ...from here.

8 years ago* lisp/filenotify.el: Use lexical-binding
Stefan Monnier [Wed, 9 Sep 2015 20:21:59 +0000 (16:21 -0400)]
* lisp/filenotify.el: Use lexical-binding

(file-notify-add-watch): Avoid add-to-list.

8 years agoStart checking event types in file-notify tests
Tassilo Horn [Wed, 9 Sep 2015 19:46:40 +0000 (21:46 +0200)]
Start checking event types in file-notify tests

* test/automated/file-notify-tests.el (file-notify--test-events): New
variable.
(file-notify--test-event-handler): Append received event to
file-notify--test-events for later analysis.
(file-notify-test02-events): Assert that the expected notifications have
arrived in the expected order.

8 years agoMerge from gnulib and texinfo
Paul Eggert [Wed, 9 Sep 2015 19:36:18 +0000 (12:36 -0700)]
Merge from gnulib and texinfo

This incorporates:
2015-08-03 Improve port of stdalign to C++11
* lib/stdalign.in.h: Copy from gnulib.
* doc/misc/texinfo.tex: Copy from texinfo.

8 years agoMake syntax.c call syntax-propertize on demand
Stefan Monnier [Wed, 9 Sep 2015 19:14:52 +0000 (15:14 -0400)]
Make syntax.c call syntax-propertize on demand

* lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
(parse-sexp-propertize-function): Use it.
(syntax-propertize): Disable parse-sexp-propertize-function.

* src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
New functions.
(syms_of_syntax): New vars `parse-sexp-propertize-done' and
`parse-sexp-propertize-function'.

* src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
(UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
(SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.

* lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
Don't assume `point' is set.

8 years agoFix indentation of an @example in ELisp manual
Eli Zaretskii [Wed, 9 Sep 2015 19:06:28 +0000 (22:06 +0300)]
Fix indentation of an @example in ELisp manual

* doc/lispref/syntax.texi (Categories): Untabify the example.
(Bug#21448)

8 years agoDefine internal-char-font even if --without-x
Paul Eggert [Wed, 9 Sep 2015 17:47:53 +0000 (10:47 -0700)]
Define internal-char-font even if --without-x

The function is used now even in non-graphical environments.
Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
* src/font.c (Finternal_char_font): Move here ...
* src/fontset.c (Finternal_char_font): ... from here.

8 years ago* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning
Stefan Monnier [Wed, 9 Sep 2015 17:18:11 +0000 (13:18 -0400)]
* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning

8 years agoFix display of complex local data types in GDB-MI
Eli Zaretskii [Wed, 9 Sep 2015 15:56:06 +0000 (18:56 +0300)]
Fix display of complex local data types in GDB-MI

* lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
variable has no value, display "<complex data type>" as a
placeholder, instead of a confusing "nil".  (Bug#21438)

8 years agoRemove redundant redefinition of seq-drop-while from seq.el
Oleh Krehel [Wed, 9 Sep 2015 13:09:31 +0000 (15:09 +0200)]
Remove redundant redefinition of seq-drop-while from seq.el

* lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.

8 years ago* lisp/emacs-lisp/package.el (package--ensure-init-file)
Phil Sainty [Mon, 7 Sep 2015 14:15:53 +0000 (02:15 +1200)]
* lisp/emacs-lisp/package.el (package--ensure-init-file)

More robust check for `package-initialize' calls in init file.
This function accepts an optional argument, but calls passing
an argument would not have been detected.

8 years agoPort movemail to RHEL 6 with --enable-gcc-warnings
Paul Eggert [Wed, 9 Sep 2015 10:36:08 +0000 (03:36 -0700)]
Port movemail to RHEL 6 with --enable-gcc-warnings

* lib-src/movemail.c (main): Declare local only if needed.

8 years agoPort recent Linux console changes to RHEL 6
Paul Eggert [Wed, 9 Sep 2015 10:23:46 +0000 (03:23 -0700)]
Port recent Linux console changes to RHEL 6

* src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.

8 years ago; Fix stray quote inserted in comment
Paul Eggert [Wed, 9 Sep 2015 09:47:53 +0000 (02:47 -0700)]
; Fix stray quote inserted in comment

8 years agoImprovements for curved quotes on Linux consule
Paul Eggert [Wed, 9 Sep 2015 09:21:16 +0000 (02:21 -0700)]
Improvements for curved quotes on Linux consule

This should help Emacs work better out-of-the-box on Linux consoles,
which have only limited support for displaying Unicode characters.
Also, undo the recent change that caused text-quoting-style to
affect quote display on terminals, so that the two features are
independent.  See Alan Mackenzie in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
Finally, add a style parameter to startup--setup-quote-display,
so that this function can also be invoked after startup, with
different styles depending on user preference at the time.
* configure.ac: Check for linux/kd.h header.
* doc/emacs/display.texi (Text Display): Document quote display.
* doc/lispref/display.texi (Active Display Table):
* etc/NEWS:
* lisp/startup.el (startup--setup-quote-display, command-line):
text-quoting-style no longer affects quote display.
* doc/lispref/frames.texi (Terminal Parameters): Fix typo.
* lisp/international/mule-util.el (char-displayable-p):
* lisp/startup.el (startup--setup-quote-display):
On a text terminal supporting glyph codes, use the reported
glyph codes instead of the terminal coding system, as this
is more accurate on the Linux console.
* lisp/startup.el (startup--setup-quote-display):
New optional arg STYLE.
* src/fontset.c (Finternal_char_font):
Report glyph codes for a text terminal, if they are available.
Currently this is supported only for the Linux console.
* src/termhooks.h (struct terminal): New member glyph-code-table.
* src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
(calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
(terminal_glyph_code): New function.

8 years ago* lisp/info.el (Info-fontify-node): Don't stop at the non-title underline.
Juri Linkov [Tue, 8 Sep 2015 21:51:32 +0000 (00:51 +0300)]
* lisp/info.el (Info-fontify-node): Don't stop at the non-title underline.

(Bug#21433)

8 years ago* lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec
Stefan Monnier [Tue, 8 Sep 2015 20:45:14 +0000 (16:45 -0400)]
* lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec

8 years agoFix double-reporting of rename events with inotify
Tassilo Horn [Tue, 8 Sep 2015 18:55:29 +0000 (20:55 +0200)]
Fix double-reporting of rename events with inotify

* lisp/filenotify.el (file-notify-callback): Fix double-reporting
of rename events with inotify (bug#21435).

8 years ago* lisp/play/tetris.el (tetris-move-down): New command (bug#21360)
Vasilij Schneidermann [Tue, 8 Sep 2015 17:55:50 +0000 (13:55 -0400)]
* lisp/play/tetris.el (tetris-move-down): New command (bug#21360)

(tetris-mode-map): Use it.

Copyright-paperwork-exempt: yes

8 years ago; Fix comment to match recent code change
Paul Eggert [Tue, 8 Sep 2015 14:34:54 +0000 (07:34 -0700)]
; Fix comment to match recent code change

8 years agoRemove a few simple cases of global redisplay
Stefan Monnier [Tue, 8 Sep 2015 14:25:59 +0000 (10:25 -0400)]
Remove a few simple cases of global redisplay

* src/dispnew.c (redraw_frame): Don't redisplay all frames.

* src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
rather than returning a "resized_p" boolean.
(redisplay_internal): Adjust call accordingly.

* src/xfaces.c (free_realized_faces): Don't redisplay all frames.
(free_all_realized_faces): Set windows_or_buffers_changed so as to ease
tracking of this undesirable situation.

8 years ago* src/process.c (status_notify): Avoid global redisplay (bug#11822)
Stefan Monnier [Tue, 8 Sep 2015 13:06:49 +0000 (09:06 -0400)]
* src/process.c (status_notify): Avoid global redisplay (bug#11822)

* src/process.c (status_notify): Only set the update_mode_line on the
relevant buffers rather than setting it globally.

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 8 Sep 2015 10:19:13 +0000 (06:19 -0400)]
; Auto-commit of loaddefs files.

8 years ago(electric-quote-mode): Activate everywhere in message-mode
Stefan Monnier [Tue, 8 Sep 2015 02:05:04 +0000 (22:05 -0400)]
(electric-quote-mode): Activate everywhere in message-mode

* lisp/electric.el (electric-quote-post-self-insert-function):
Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).

8 years agoGo back to grave quoting in source-code docstrings etc.
Paul Eggert [Mon, 7 Sep 2015 15:41:44 +0000 (08:41 -0700)]
Go back to grave quoting in source-code docstrings etc.

This reverts almost all my recent changes to use curved quotes
in docstrings and/or strings used for error diagnostics.
There are a few exceptions, e.g., Bahá’í proper names.
* admin/unidata/unidata-gen.el (unidata-gen-table):
* lisp/abbrev.el (expand-region-abbrevs):
* lisp/align.el (align-region):
* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
(outlineify-sticky):
* lisp/apropos.el (apropos-library):
* lisp/bookmark.el (bookmark-default-annotation-text):
* lisp/button.el (button-category-symbol, button-put)
(make-text-button):
* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
* lisp/calc/calc-embed.el (calc-do-embedded):
* lisp/calc/calc-ext.el (calc-user-function-list):
* lisp/calc/calc-graph.el (calc-graph-show-dumb):
* lisp/calc/calc-help.el (calc-describe-key)
(calc-describe-thing, calc-full-help):
* lisp/calc/calc-lang.el (calc-c-language)
(math-parse-fortran-vector-end, math-parse-tex-sum)
(math-parse-eqn-matrix, math-parse-eqn-prime)
(calc-yacas-language, calc-maxima-language, calc-giac-language)
(math-read-giac-subscr, math-read-math-subscr)
(math-read-big-rec, math-read-big-balance):
* lisp/calc/calc-misc.el (calc-help, report-calc-bug):
* lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
(calc-auto-recompute):
* lisp/calc/calc-prog.el (calc-fix-token-name)
(calc-read-parse-table-part, calc-user-define-invocation)
(math-do-arg-check):
* lisp/calc/calc-store.el (calc-edit-variable):
* lisp/calc/calc-units.el (math-build-units-table-buffer):
* lisp/calc/calc-vec.el (math-read-brackets):
* lisp/calc/calc-yank.el (calc-edit-mode):
* lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/diary-lib.el (diary-check-diary-file)
(diary-mail-entries, diary-from-outlook):
* lisp/calendar/icalendar.el (icalendar-export-region)
(icalendar--convert-float-to-ical)
(icalendar--convert-date-to-ical)
(icalendar--convert-ical-to-diary)
(icalendar--convert-recurring-to-diary)
(icalendar--add-diary-entry):
* lisp/calendar/time-date.el (format-seconds):
* lisp/calendar/timeclock.el (timeclock-mode-line-display)
(timeclock-make-hours-explicit, timeclock-log-data):
* lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
(todo-item-mark, todo-check-format)
(todo-insert-item--next-param, todo-edit-item--next-key)
(todo-mode):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/mode-local.el (describe-mode-local-overload)
(mode-local-print-binding, mode-local-describe-bindings-2):
* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/cus-start.el (standard):
* lisp/cus-theme.el (describe-theme-1):
* lisp/custom.el (custom-add-dependencies, custom-check-theme)
(custom--sort-vars-1, load-theme):
* lisp/descr-text.el (describe-text-properties-1, describe-char):
* lisp/dired-x.el (dired-do-run-mail):
* lisp/dired.el (dired-log):
* lisp/emacs-lisp/advice.el (ad-read-advised-function)
(ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
(ad-disable-advice, ad-remove-advice, ad-set-argument)
(ad-set-arguments, ad--defalias-fset, ad-activate)
(ad-deactivate):
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
(byte-compile-unfold-lambda, byte-optimize-form-code-walker)
(byte-optimize-while, byte-optimize-apply):
* lisp/emacs-lisp/byte-run.el (defun, defsubst):
* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
(byte-compile-log-file, byte-compile-format-warn)
(byte-compile-nogroup-warn, byte-compile-arglist-warn)
(byte-compile-cl-warn)
(byte-compile-warn-about-unresolved-functions)
(byte-compile-file, byte-compile--declare-var)
(byte-compile-file-form-defmumble, byte-compile-form)
(byte-compile-normal-call, byte-compile-check-variable)
(byte-compile-variable-ref, byte-compile-variable-set)
(byte-compile-subr-wrong-args, byte-compile-setq-default)
(byte-compile-negation-optimizer)
(byte-compile-condition-case--old)
(byte-compile-condition-case--new, byte-compile-save-excursion)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form)
(byte-compile-make-variable-buffer-local, display-call-tree)
(batch-byte-compile):
* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
* lisp/emacs-lisp/chart.el (chart-space-usage):
* lisp/emacs-lisp/check-declare.el (check-declare-scan)
(check-declare-warn, check-declare-file)
(check-declare-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
(checkdoc-message-text-engine):
* lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
(cl--describe-class):
* lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
(cl--generic-describe, cl-generic-generalizers):
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
(cl-symbol-macrolet):
* lisp/emacs-lisp/cl.el (cl-unload-function, flet):
* lisp/emacs-lisp/copyright.el (copyright)
(copyright-update-directory):
* lisp/emacs-lisp/edebug.el (edebug-read-list):
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
* lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
(eieio-oref):
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
* lisp/emacs-lisp/eieio-speedbar.el:
(eieio-speedbar-child-make-tag-lines)
(eieio-speedbar-child-description):
* lisp/emacs-lisp/eieio.el (defclass, change-class):
* lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
(elint-init-form, elint-check-defalias-form)
(elint-check-let-form):
* lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-describe-test):
* lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
(find-function-library):
* lisp/emacs-lisp/generator.el (iter-yield):
* lisp/emacs-lisp/gv.el (gv-define-simple-setter):
* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
* lisp/emacs-lisp/nadvice.el (advice--make-docstring)
(advice--make, define-advice):
* lisp/emacs-lisp/package-x.el (package-upload-file):
* lisp/emacs-lisp/package.el (package-version-join)
(package-disabled-p, package-activate-1, package-activate)
(package--download-one-archive)
(package--download-and-read-archives)
(package-compute-transaction, package-install-from-archive)
(package-install, package-install-selected-packages)
(package-delete, package-autoremove, describe-package-1)
(package-install-button-action, package-delete-button-action)
(package-menu-hide-package, package-menu--list-to-prompt)
(package-menu--perform-transaction)
(package-menu--find-and-notify-upgrades):
* lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
* lisp/emacs-lisp/ring.el (ring-previous, ring-next):
* lisp/emacs-lisp/rx.el (rx-check, rx-anything)
(rx-check-any-string, rx-check-any, rx-check-not, rx-=)
(rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
(rx-form):
* lisp/emacs-lisp/smie.el (smie-config-save):
* lisp/emacs-lisp/subr-x.el (internal--check-binding):
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
* lisp/emacs-lisp/testcover.el (testcover-1value):
* lisp/emacs-lisp/timer.el (timer-event-handler):
* lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
(viper-toggle-search-style, viper-kill-buffer)
(viper-brac-function):
* lisp/emulation/viper-macs.el (viper-record-kbd-macro):
* lisp/env.el (setenv):
* lisp/erc/erc-button.el (erc-nick-popup):
* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
* lisp/eshell/em-dirs.el (eshell/cd):
* lisp/eshell/em-glob.el (eshell-glob-regexp)
(eshell-glob-entries):
* lisp/eshell/em-pred.el (eshell-parse-modifiers):
* lisp/eshell/esh-opt.el (eshell-show-usage):
* lisp/facemenu.el (facemenu-add-new-face)
(facemenu-add-new-color):
* lisp/faces.el (read-face-name, read-face-font, describe-face)
(x-resolve-font-name):
* lisp/files-x.el (modify-file-local-variable):
* lisp/files.el (locate-user-emacs-file, find-alternate-file)
(set-auto-mode, hack-one-local-variable--obsolete)
(dir-locals-set-directory-class, write-file, basic-save-buffer)
(delete-directory, copy-directory, recover-session)
(recover-session-finish, insert-directory)
(file-modes-char-to-who, file-modes-symbolic-to-number)
(move-file-to-trash):
* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
* lisp/find-cmd.el (find-generic, find-to-string):
* lisp/finder.el (finder-commentary):
* lisp/font-lock.el (font-lock-fontify-buffer):
* lisp/format.el (format-write-file, format-find-file)
(format-insert-file):
* lisp/frame.el (get-device-terminal, select-frame-by-name):
* lisp/fringe.el (fringe--check-style):
* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
* lisp/help-fns.el (help-fns--key-bindings)
(help-fns--compiler-macro, help-fns--parent-mode)
(help-fns--obsolete, help-fns--interactive-only)
(describe-function-1, describe-variable):
* lisp/help.el (describe-mode)
(describe-minor-mode-from-indicator):
* lisp/image.el (image-type):
* lisp/international/ccl.el (ccl-dump):
* lisp/international/fontset.el (x-must-resolve-font-name):
* lisp/international/mule-cmds.el (prefer-coding-system)
(select-safe-coding-system-interactively)
(select-safe-coding-system, activate-input-method)
(toggle-input-method, describe-current-input-method)
(describe-language-environment):
* lisp/international/mule-conf.el (code-offset):
* lisp/international/mule-diag.el (describe-character-set)
(list-input-methods-1):
* lisp/mail/feedmail.el (feedmail-run-the-queue):
* lisp/mouse.el (minor-mode-menu-from-indicator):
* lisp/mpc.el (mpc-playlist-rename):
* lisp/msb.el (msb--choose-menu):
* lisp/net/ange-ftp.el (ange-ftp-shell-command):
* lisp/net/imap.el (imap-interactive-login):
* lisp/net/mairix.el (mairix-widget-create-query):
* lisp/net/newst-backend.el (newsticker--sentinel-work):
* lisp/net/newst-treeview.el (newsticker--treeview-load):
* lisp/net/rlogin.el (rlogin):
* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
* lisp/obsolete/otodo-mode.el (todo-more-important-p):
* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
* lisp/org/ob-core.el (org-babel-goto-named-src-block)
(org-babel-goto-named-result):
* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
* lisp/org/ob-ref.el (org-babel-ref-resolve):
* lisp/org/org-agenda.el (org-agenda-prepare):
* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
(org-clock-resolve):
* lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
* lisp/org/org-feed.el (org-feed-parse-atom-entry):
* lisp/org/org-habit.el (org-habit-parse-todo):
* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
(org-mouse-context-menu):
* lisp/org/org-table.el (org-table-edit-formulas):
* lisp/org/ox.el (org-export-async-start):
* lisp/proced.el (proced-log):
* lisp/progmodes/ada-mode.el (ada-get-indent-case)
(ada-check-matching-start, ada-goto-matching-start):
* lisp/progmodes/ada-prj.el (ada-prj-display-page):
* lisp/progmodes/ada-xref.el (ada-find-executable):
* lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
* lisp/progmodes/etags.el (etags-tags-apropos-additional):
* lisp/progmodes/flymake.el (flymake-parse-err-lines)
(flymake-start-syntax-check-process):
* lisp/progmodes/python.el (python-shell-get-process-or-error)
(python-define-auxiliary-skeleton):
* lisp/progmodes/sql.el (sql-comint):
* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
* lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
* lisp/recentf.el (recentf-open-files):
* lisp/replace.el (query-replace-read-from)
(occur-after-change-function, occur-1):
* lisp/scroll-bar.el (scroll-bar-columns):
* lisp/server.el (server-get-auth-key):
* lisp/simple.el (execute-extended-command)
(undo-outer-limit-truncate, list-processes--refresh)
(compose-mail, set-variable, choose-completion-string)
(define-alternatives):
* lisp/startup.el (site-run-file, tty-handle-args, command-line)
(command-line-1):
* lisp/subr.el (noreturn, define-error, add-to-list)
(read-char-choice, version-to-list):
* lisp/term/common-win.el (x-handle-xrm-switch)
(x-handle-name-switch, x-handle-args):
* lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
* lisp/textmodes/reftex-ref.el (reftex-label):
* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
* lisp/textmodes/two-column.el (2C-split):
* lisp/tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--find-changed-keys):
* lisp/type-break.el (type-break-noninteractive-query):
* lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
(wdired-do-perm-changes):
* lisp/whitespace.el (whitespace-report-region):
Prefer grave quoting in source-code strings used to generate help
and diagnostics.
* lisp/faces.el (face-documentation):
No need to convert quotes, since the result is a docstring.
* lisp/info.el (Info-virtual-index-find-node)
(Info-virtual-index, info-apropos):
Simplify by generating only curved quotes, since info files are
typically that ways nowadays anyway.
* lisp/international/mule-diag.el (list-input-methods):
Don’t assume text quoting style is curved.
* lisp/org/org-bibtex.el (org-bibtex-fields):
Revert my recent changes, going back to the old quoting style.

8 years ago* lisp/emacs-lisp/package.el: Reduce autoloading before compiling
Artur Malabarba [Mon, 7 Sep 2015 22:51:42 +0000 (23:51 +0100)]
* lisp/emacs-lisp/package.el: Reduce autoloading before compiling

(package--autoloads-file-name)
(package--activate-autoloads-and-load-path): New function.
(package-activate-1): Delegate autoloading and load-path
configuration to `package--activate-autoloads-and-load-path'.
(package--compile): Before compilation, call
`package--activate-autoloads-and-load-path' instead of
`package-activate-1'.

8 years ago; Add (tiny change) an entry from 2015-08-31
Artur Malabarba [Mon, 7 Sep 2015 20:30:07 +0000 (21:30 +0100)]
; Add (tiny change) an entry from 2015-08-31

8 years ago* src/keyboard.c (read_key_sequence): Complete last fix (bug#21403)
Stefan Monnier [Mon, 7 Sep 2015 17:27:50 +0000 (13:27 -0400)]
* src/keyboard.c (read_key_sequence): Complete last fix (bug#21403)

8 years agoFix deletion of symlinks to directories on MS-Windows
Eli Zaretskii [Mon, 7 Sep 2015 15:26:36 +0000 (18:26 +0300)]
Fix deletion of symlinks to directories on MS-Windows

* src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
symlink to a directory, try again with 'rmdir'.
(is_symlink): If the argument is a symlink to a directory, set a
bit in the return value to indicate that fact.

8 years ago* lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
Artur Malabarba [Sun, 6 Sep 2015 12:52:54 +0000 (13:52 +0100)]
* lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup

When `package-initialize' is called as part of loading the init file,
the user probably doesn't want it to be called again afterwards. In this
situation, `package-initialize' now sets `package-enable-at-startup' to
nil to prevent that. The user can have the old behaviour by setting this
variable to t after the call to `package-initialize'.  (Bug#21423)

* doc/emacs/package.texi (Package Installation): Document it

* doc/lispref/package.texi (Packaging Basics): Document it

* etc/NEWS: Document it

8 years agoBump version of ntlm.el to 2.00
Thomas Fitzsimmons [Mon, 7 Sep 2015 02:47:29 +0000 (22:47 -0400)]
Bump version of ntlm.el to 2.00

* lisp/net/ntlm.el: Bump version to 2.00.  New maintainer.  Add comm
keyword.