]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years ago* lisp/ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
Stefan Monnier [Tue, 1 Jul 2014 02:25:52 +0000 (22:25 -0400)]
* lisp/ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
buffer-invisibility-spec.

Fixes: debbugs:17867
9 years agoFix bug #17875 with changing TTY frame size, then selecting new frame.
Eli Zaretskii [Mon, 30 Jun 2014 16:45:38 +0000 (19:45 +0300)]
Fix bug #17875 with changing TTY frame size, then selecting new frame.

 src/frame.c (do_switch_frame): When switching to another TTY frame,
 make sure FrameCols and FrameRows are in sync with the new frame's
 data.

9 years ago* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
Andreas Schwab [Sun, 29 Jun 2014 20:48:55 +0000 (22:48 +0200)]
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
pass "-a".

9 years agoDoc and comment fixes re "online" help
Glenn Morris [Sun, 29 Jun 2014 02:33:50 +0000 (19:33 -0700)]
Doc and comment fixes re "online" help

* doc/emacs/help.texi (Misc Help):
* doc/emacs/trouble.texi (Checklist):
* doc/lispintro/emacs-lisp-intro.texi (Note for Novices, Finding More)
(Conclusion):
* doc/lispref/help.texi (Help Functions):
* doc/misc/info.texi, doc/misc/mh-e.texi:
* etc/refcards/calccard.tex (section{Getting Help}):
* lisp/cus-edit.el (help):
* lisp/finder.el (finder-known-keywords):
* lisp/help.el (help-for-help-internal):
* lisp/vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
(ediff-redraw-registry-buffer):
* lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
Doc fixes re "online" help.

Fixes: debbugs:17803
9 years agoUpdate idlwave url
Glenn Morris [Sun, 29 Jun 2014 02:17:17 +0000 (19:17 -0700)]
Update idlwave url

* doc/misc/idlwave.texi (Introduction): Comment out dead http screenshot links.

* lisp/progmodes/idlwave.el (idlwave): Update url-link for custom group.
(idlwave-mode): Doc URL update.

9 years agoFixes: debbugs:17865
Andreas Schwab [Sat, 28 Jun 2014 07:24:01 +0000 (09:24 +0200)]
Fixes: debbugs:17865
* coding.c (encode_coding_utf_8): Correctly count produced_chars
also in unibyte case.

9 years ago* calc-test.el: Set copyright to FSF; standardize permissions notice
Glenn Morris [Sat, 28 Jun 2014 03:11:24 +0000 (20:11 -0700)]
* calc-test.el: Set copyright to FSF; standardize permissions notice

9 years ago* test/automated/calc-tests.el: New file and add tests for math-bignum.
Leo Liu [Sat, 28 Jun 2014 02:15:13 +0000 (10:15 +0800)]
* test/automated/calc-tests.el: New file and add tests for math-bignum.

Fixes: debbugs:17556
9 years ago* automated/dbus-tests.el (dbus--test-register-service)
Michael Albinus [Fri, 27 Jun 2014 18:20:21 +0000 (20:20 +0200)]
* automated/dbus-tests.el (dbus--test-register-service)
(dbus-test02-register-service-session): Replace `dbus-ping' calls
by `dbus-list-known-names'.

Fixes: debbugs:17858
9 years ago* calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
Stephen Berman [Fri, 27 Jun 2014 15:15:30 +0000 (17:15 +0200)]
* calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
account for file-wide setting of todo-top-priorities-overrides.
Make code a bit cleaner.

9 years agoRegenerate ldefs-boot.el emacs-24.3.92
Glenn Morris [Fri, 27 Jun 2014 05:53:13 +0000 (22:53 -0700)]
Regenerate ldefs-boot.el

9 years agoBackport fix for http://debbugs.gnu.org/17556 from trunk
Leo Liu [Fri, 27 Jun 2014 04:10:04 +0000 (12:10 +0800)]
Backport fix for http://debbugs.gnu.org/17556 from trunk

* lisp/calc/calc.el (math-bignum): Handle most-negative-fixnum.

10 years ago* lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.
Glenn Morris [Fri, 27 Jun 2014 00:48:34 +0000 (20:48 -0400)]
* lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.

Fixes: debbugs:17860
10 years agoChangeLog fix (no need to merge to trunk)
Glenn Morris [Fri, 27 Jun 2014 00:34:42 +0000 (20:34 -0400)]
ChangeLog fix (no need to merge to trunk)

Since the change was just quickly reverting a change that does not
have a ChangeLog entry of its own, it's confusing and unnecessary for
the reversion to have a ChangeLog entry.

10 years ago* etc/publicsuffix.txt: Update from source.
Glenn Morris [Fri, 27 Jun 2014 00:33:00 +0000 (20:33 -0400)]
* etc/publicsuffix.txt: Update from source.

* lisp/url/url-domsuf.el: Update example comments.

10 years ago* calendar/todo-mode.el (todo-prefix-overlays): If there is no
Stephen Berman [Thu, 26 Jun 2014 19:22:08 +0000 (21:22 +0200)]
* calendar/todo-mode.el (todo-prefix-overlays): If there is no
category-wide setting of todo-top-priorities-overrides, check for
a file-wide setting and fontify accordingly.

10 years agoWarn about read-passwd in batch mode
Glenn Morris [Thu, 26 Jun 2014 19:00:42 +0000 (15:00 -0400)]
Warn about read-passwd in batch mode

* doc/lispref/minibuf.texi (Intro to Minibuffers): Batch mode is basic.
(Reading a Password): Mention batch mode.

* lisp/subr.el (read-passwd): Warn about batch mode.

Fixes: debbugs:17839
10 years ago* lisp/emacs-lisp/package.el (package--check-signature): (backport)
Daiki Ueno [Thu, 26 Jun 2014 13:47:37 +0000 (09:47 -0400)]
* lisp/emacs-lisp/package.el (package--check-signature): (backport)
If package-check-signature is allow-unsigned, don't signal error when
we can't verify signature because of missing public key.

Fixes: debbugs:17625
10 years ago* lisp/progmodes/hideif.el: Undo last change which should only go to trunk
Stefan Monnier [Thu, 26 Jun 2014 13:40:49 +0000 (09:40 -0400)]
* lisp/progmodes/hideif.el: Undo last change which should only go to trunk
(do not merge).

10 years agoRegenerate etc/AUTHORS
Glenn Morris [Thu, 26 Jun 2014 06:51:30 +0000 (23:51 -0700)]
Regenerate etc/AUTHORS

10 years agoBump version to 24.3.92
Glenn Morris [Thu, 26 Jun 2014 06:48:25 +0000 (23:48 -0700)]
Bump version to 24.3.92

10 years agoRemove some function declarations, no longer needed or correct
Glenn Morris [Thu, 26 Jun 2014 06:43:39 +0000 (23:43 -0700)]
Remove some function declarations, no longer needed or correct

* lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage):
* lisp/gnus/mm-util.el (help-function-arglist):
Remove outdated declarations.

10 years agoHideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
Luke Lee [Thu, 26 Jun 2014 05:47:33 +0000 (13:47 +0800)]
HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.

- Supporting argumented macro expansion.
- Stringification, tokenization and concatenation of strings and tokens.
- Add functions to find defines and parse argumented macros into a macro
  tree containing macro name, formal parameters and macro body.
- On macro evaluation, macros will be applied with actual parameters and
  then got expanded recursively.
- Merge main trunk changes

* lisp/progmodes/hideif.el (hif-string-to-number): Merge changes from
main trunk.
(hif-simple-token-only, hif-tokenize): Commentted in detail mainly for
performance enhancements.
(hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro
expansion.
(hif-factor, hif-string-concatenation, intern-safe): Support string
concatenation and argumented macro expansion.
(hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
(hif-expand-token-list, hif-get-argument-list, hif-define-macro)
(hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
(hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation)
(hif-parse-macro-arglist): Mostly new functions for supporting argumented
macro expansion.
(hif-string-concatenation, hif-stringify, hif-token-concat)
(hif-token-stringification, hif-token-concatenation): Stringify and
concatentation.
(hif-find-next-relevant): Fix comments
(hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
some cases involving #elif.
(hif-find-define, hif-add-new-defines): New functions for automatically
scanning of defined symbols.
(hide-ifdef-guts): Fix for auto defined symbol scanning.
(hide-ifdef-undef): Fix behavior to match CPP.

10 years agoFix last change
Leo Liu [Thu, 26 Jun 2014 04:27:18 +0000 (12:27 +0800)]
Fix last change

10 years ago* lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.
Leo Liu [Thu, 26 Jun 2014 04:00:56 +0000 (12:00 +0800)]
* lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.
(url-insert-file-contents): Condition on url-http-response-status
for the HTTP/S specific part.

* lisp/url/url-http.el (url-http-end-of-headers): Remove duplicate defvar.

Fixes: debbugs:17549
10 years agoauthors.el: Add some renamed/moved files
Glenn Morris [Thu, 26 Jun 2014 00:36:58 +0000 (20:36 -0400)]
authors.el: Add some renamed/moved files

* lisp/emacs-lisp/authors.el (authors-valid-file-names)
(authors-renamed-files-alist): Additions.

10 years agoChangeLog fixes.
Glenn Morris [Thu, 26 Jun 2014 00:34:54 +0000 (20:34 -0400)]
ChangeLog fixes.
Not sure how M-x authors missed these so far...

10 years agoFix a few packages to work with nil tab-stop-list
Leo Liu [Wed, 25 Jun 2014 23:53:37 +0000 (07:53 +0800)]
Fix a few packages to work with nil tab-stop-list

* indent.el (indent-accumulate-tab-stops): New function.

* textmodes/picture.el (picture-set-tab-stops):
* ruler-mode.el (ruler-mode-mouse-add-tab-stop)
(ruler-mode-ruler): Fix to work with nil tab-stop-list.

* progmodes/asm-mode.el (asm-calculate-indentation): Use
indent-next-tab-stop.

10 years ago* test/automated/package-test.el (package-test-update-listing)
Stefan Monnier [Wed, 25 Jun 2014 21:59:28 +0000 (17:59 -0400)]
* test/automated/package-test.el (package-test-update-listing)
(package-test-update-archives, package-test-describe-package):
Adjust tests according to new package-list-unsigned.

10 years agoChangeLog fix
Glenn Morris [Wed, 25 Jun 2014 20:48:41 +0000 (16:48 -0400)]
ChangeLog fix

10 years ago* src/puresize.h (BASE_PURESIZE): Add 1%, for safety.
Glenn Morris [Wed, 25 Jun 2014 20:26:01 +0000 (16:26 -0400)]
* src/puresize.h (BASE_PURESIZE): Add 1%, for safety.

10 years ago* src/puresize.h (BASE_PURESIZE): Bump by another 1K.
Glenn Morris [Wed, 25 Jun 2014 19:18:49 +0000 (15:18 -0400)]
* src/puresize.h (BASE_PURESIZE): Bump by another 1K.

Fixes: debbugs:17846
10 years ago* lisp/emacs-lisp/package.el (package-list-unsigned): New var.
Stefan Monnier [Wed, 25 Jun 2014 17:20:08 +0000 (13:20 -0400)]
* lisp/emacs-lisp/package.el (package-list-unsigned): New var.
(package-desc-status): Obey it.

Fixes: debbugs:17625
10 years ago* calendar/todo-mode.el: Fix two bugs.
Stephen Berman [Wed, 25 Jun 2014 12:06:00 +0000 (14:06 +0200)]
* calendar/todo-mode.el: Fix two bugs.
(todo-insert-item--basic): If user cancels item insertion to
another category before setting priority, show original category
whether it is in the same or a different file.
(todo-set-item-priority): After selecting category, instead of
moving point to top, which extends an active region, restore it.

10 years ago* lisp/help-fns.el (describe-function-1): Check file-name is a string before
Stefan Monnier [Wed, 25 Jun 2014 00:48:10 +0000 (20:48 -0400)]
* lisp/help-fns.el (describe-function-1): Check file-name is a string before
calling help-fns--autoloaded-p.

Fixes: debbugs:17564
10 years ago* lisp/desktop.el (desktop-auto-save-enable)
Juri Linkov [Tue, 24 Jun 2014 23:23:41 +0000 (02:23 +0300)]
* lisp/desktop.el (desktop-auto-save-enable)
(desktop-auto-save-disable): New functions.
(desktop-save-mode, desktop-auto-save-timeout): Use them.
(desktop-read): Disable the autosave before loading the desktop,
and enable afterwards.

Fixes: debbugs:17351
10 years agoFix some indentation problem with \; and pipes.
Stefan Monnier [Tue, 24 Jun 2014 20:16:10 +0000 (16:16 -0400)]
Fix some indentation problem with \; and pipes.
* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
(sh-smie--default-forward-token, sh-smie--default-backward-token):
New functions.
(sh-smie-sh-forward-token, sh-smie-sh-backward-token)
(sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
(sh-smie-sh-rules): Fix indentation of a pipe at BOL.

Fixes: debbugs:17842
10 years agoadmin/notes/unicode: Some notes about what to do when a new Unicode version is imported.
Eli Zaretskii [Tue, 24 Jun 2014 16:58:06 +0000 (19:58 +0300)]
admin/notes/unicode: Some notes about what to do when a new Unicode version is imported.

10 years agoBackport Unicode 7 update of character- and script-related databases
Eli Zaretskii [Tue, 24 Jun 2014 07:10:47 +0000 (00:10 -0700)]
Backport Unicode 7 update of character- and script-related databases

* lisp/international/characters.el (char-script-table):
Update for scripts added and codepoint ranges changed in Unicode 7.0.

* lisp/international/fontset.el (script-representative-chars):
Add representative characters for scripts added in Unicode 7.0.
(otf-script-alist): Synchronize with the latest registry of OTF script tags.

10 years agoBackport unicode 7.0 data files update from trunk
Glenn Morris [Tue, 24 Jun 2014 07:07:03 +0000 (00:07 -0700)]
Backport unicode 7.0 data files update from trunk

* admin/unidata/BidiMirroring.txt: Update to 7.0.0 (only comment changes).

* admin/unidata/UnicodeData.txt: Update to 7.0.0.

* admin/unidata/IVD_Sequences.txt: Update to 2014-05-16 version.

10 years ago* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
Leo Liu [Mon, 23 Jun 2014 23:09:20 +0000 (07:09 +0800)]
* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
tab-stop-list to nil.

* indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
(indent-rigidly-left-to-tab-stop)
(indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
(move-to-tab-stop): Change callers.

Fixes: debbugs:16381
10 years ago* doc/misc/dired-x.texi (Omitting Files in Dired, Omitting Variables): Fix
Leo Liu [Mon, 23 Jun 2014 07:38:07 +0000 (15:38 +0800)]
* doc/misc/dired-x.texi (Omitting Files in Dired, Omitting Variables): Fix
key binding to dired-omit-mode.

Fixes: debbugs:16354
10 years ago* html2text.el (html2text-get-attr): Rewrite to handle spaces in quoted
Andreas Schwab [Sun, 22 Jun 2014 21:14:43 +0000 (23:14 +0200)]
* html2text.el (html2text-get-attr): Rewrite to handle spaces in quoted
attribute values.  (Bug#17834)

10 years agoMore tweaks of skeleton documentation wrt \n behavior at bol/eol.
Eli Zaretskii [Sun, 22 Jun 2014 16:59:30 +0000 (19:59 +0300)]
More tweaks of skeleton documentation wrt \n behavior at bol/eol.

 lisp/skeleton.el (skeleton-insert): Yet another fix of the doc string
 wrt behavior of \n as the first/last element of a skeleton.

 doc/misc/autotype.texi (Skeleton Language): Document the \n feature
 better.

10 years ago* net/tramp-adb.el (tramp-adb-handle-process-file):
Michael Albinus [Sun, 22 Jun 2014 09:20:38 +0000 (11:20 +0200)]
* net/tramp-adb.el (tramp-adb-handle-process-file):
* net/tramp-sh.el (tramp-sh-handle-process-file):
* net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
the output buffer when DISPLAY is non-nil.

Fixes: debbugs:17815
10 years ago* landmark.el: Commentary fixes.
Glenn Morris [Sat, 21 Jun 2014 21:36:44 +0000 (14:36 -0700)]
* landmark.el: Commentary fixes.

10 years agoFix landmark, broken since Emacs 23.1
Glenn Morris [Sat, 21 Jun 2014 21:21:46 +0000 (14:21 -0700)]
Fix landmark, broken since Emacs 23.1

* play/landmark.el (landmark-move-down, landmark-move-up):
Fix 2007-10-20 change - preserve horizontal position.

10 years agoChangeLog fix (no need to merge to trunk)
Glenn Morris [Sat, 21 Jun 2014 19:46:57 +0000 (12:46 -0700)]
ChangeLog fix (no need to merge to trunk)

10 years agodoc/misc/autotype.texi (Skeleton Language): Fix last change.
Eli Zaretskii [Sat, 21 Jun 2014 15:08:18 +0000 (18:08 +0300)]
doc/misc/autotype.texi (Skeleton Language): Fix last change.

10 years agoFix completion retrieval parsing.
Fabián Ezequiel Gallina [Sat, 21 Jun 2014 14:14:54 +0000 (11:14 -0300)]
Fix completion retrieval parsing.
* progmodes/python.el (python-mode):
(python-util-strip-string): New function.
(python-shell-completion-get-completions): Use it.

* automated/python-tests.el (python-util-strip-string-1): New test.

Fixes: debbugs:17209
10 years agolisp/skeleton.el (skeleton-insert): Fix last change.
Eli Zaretskii [Sat, 21 Jun 2014 13:41:44 +0000 (16:41 +0300)]
lisp/skeleton.el (skeleton-insert): Fix last change.

10 years agosrc/dispextern.h: Fix commentary to it's hpos member.
Eli Zaretskii [Sat, 21 Jun 2014 12:34:02 +0000 (15:34 +0300)]
src/dispextern.h: Fix commentary to it's hpos member.

10 years agoFix bug #17823 with vertical-motion in lines with line-prefix.
Eli Zaretskii [Sat, 21 Jun 2014 12:30:02 +0000 (15:30 +0300)]
Fix bug #17823 with vertical-motion in lines with line-prefix.

 src/indent.c (Fvertical_motion): Move to the goal column, if any,
 with a single call to move_it_in_display_line, not in two calls.
 Doing this with two calls causes move_it_in_display_line apply the
 line-prefix handling twice instead of just once.

10 years agoEnhancements for outline integration.
Fabián Ezequiel Gallina [Sat, 21 Jun 2014 11:26:43 +0000 (08:26 -0300)]
Enhancements for outline integration.
* lisp/progmodes/python.el (python-mode): Properly set
outline-heading-end-regexp so that comments after colons for
defuns are supported.

Fixes: debbugs:17796
10 years agoImprove documentation of how vertical-motion interprets columns.
Eli Zaretskii [Sat, 21 Jun 2014 08:17:29 +0000 (11:17 +0300)]
Improve documentation of how vertical-motion interprets columns.

 src/indent.c (Fvertical_motion): Doc fix.

 doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted
 by vertical-motion.

10 years agoImprove documentation of \n in a skeleton.
Eli Zaretskii [Sat, 21 Jun 2014 08:05:39 +0000 (11:05 +0300)]
Improve documentation of \n in a skeleton.

 doc/misc/autotype.texi (Skeleton Language): Document the feature of \n
 when at eol.

10 years agolisp/skeleton.el (skeleton-insert): Doc fix.
Eli Zaretskii [Sat, 21 Jun 2014 08:01:52 +0000 (11:01 +0300)]
lisp/skeleton.el (skeleton-insert): Doc fix.

10 years agoPort to OS X ACLs.
Paul Eggert [Sat, 21 Jun 2014 07:03:41 +0000 (00:03 -0700)]
Port to OS X ACLs.

* fileio.c (Ffile_acl): Port to OS X, where acl_get_file (...,
ACL_TYPE_ACCESS) doesn't work.

Fixes: debbugs:17810
10 years ago* lisp/emacs-lisp/smie.el (smie-config--guess): Fix typo.
Stefan Monnier [Fri, 20 Jun 2014 21:10:40 +0000 (17:10 -0400)]
* lisp/emacs-lisp/smie.el (smie-config--guess): Fix typo.
(smie-config-guess): Use smie-config-local so the rules are obeyed.

Fixes: debbugs:17818
10 years ago* configure.ac: Warn about --enable-link-time-optimization's issues
Paul Eggert [Fri, 20 Jun 2014 19:46:18 +0000 (12:46 -0700)]
* configure.ac: Warn about --enable-link-time-optimization's issues

in --help message.

Fixes: debbugs:17806
10 years ago* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
Stefan Monnier [Fri, 20 Jun 2014 18:35:04 +0000 (14:35 -0400)]
* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
since it's already done inside the loop (bug#17819).

10 years agoIn mouse-drag-line remove inadvertently reintroduced code (Bug#17819).
Martin Rudalics [Fri, 20 Jun 2014 17:24:18 +0000 (19:24 +0200)]
In mouse-drag-line remove inadvertently reintroduced code (Bug#17819).

* mouse.el (mouse-drag-line): Re-remove code initially removed
on 2013-03-09 and inadvertently reintroduced on 2013-11-30
(Bug#17819).

10 years ago* lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
Stefan Monnier [Fri, 20 Jun 2014 14:23:30 +0000 (10:23 -0400)]
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
align with the surrounding parent.

Fixes: debbugs:17721
10 years agoFix bug #17801 with extraneous newlines after inserting markup in Texinfo mode.
Eli Zaretskii [Fri, 20 Jun 2014 08:47:10 +0000 (11:47 +0300)]
Fix bug #17801 with extraneous newlines after inserting markup in Texinfo mode.

 lisp/textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
 locally to nil.
 (texinfo-insert-block, texinfo-insert-@end)
 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
 local setting of skeleton-end-newline by adding an explicit \n to
 the skeletons where appropriate.

10 years agoPort to GCC 4.9.0 with link time optimization.
Paul Eggert [Fri, 20 Jun 2014 06:07:47 +0000 (23:07 -0700)]
Port to GCC 4.9.0 with link time optimization.

* configure.ac (CFLAGS): With link time optimization,
use -ffat-lto-objects if supported; otherwise Emacs won't
build with GCC 4.9.0.

Fixes: debbugs:17806
10 years ago* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
Stefan Monnier [Fri, 20 Jun 2014 01:05:40 +0000 (21:05 -0400)]
* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
(smie-indent--hanging-p): Use it.
* lisp/progmodes/sh-script.el (sh-set-shell): Set it.

Fixes: debbugs:17621
10 years ago* simple.el (read-quoted-char): Don't let help chars pop up help
Leo Liu [Fri, 20 Jun 2014 00:14:43 +0000 (08:14 +0800)]
* simple.el (read-quoted-char): Don't let help chars pop up help
buffer.

Fixes: debbugs:16617
10 years ago* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
Stefan Monnier [Thu, 19 Jun 2014 22:52:12 +0000 (18:52 -0400)]
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
for |.

Fixes: debbugs:17621
10 years ago* src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
Stefan Monnier [Thu, 19 Jun 2014 03:48:18 +0000 (23:48 -0400)]
* src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
before checking key-translation-map.

Fixes: debbugs:17659
10 years ago* font.c (font_make_object): Avoid dangling pointer which may
Dmitry Antipov [Thu, 19 Jun 2014 03:21:07 +0000 (07:21 +0400)]
* font.c (font_make_object): Avoid dangling pointer which may
crash GC (Bug#17771).

10 years ago* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
Stefan Monnier [Wed, 18 Jun 2014 22:02:15 +0000 (18:02 -0400)]
* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
(xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
burping.

Fixes: debbugs:17776
10 years agosrc/image.c: Yet another fix for last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:57:26 +0000 (19:57 +0300)]
src/image.c: Yet another fix for last commit.

Fixes: debbugs:17790
10 years agosrc/image.c: Another fix for last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:39:14 +0000 (19:39 +0300)]
src/image.c: Another fix for last commit.

Fixes: debbugs:17790
10 years agosrc/image.c: Fix last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:35:02 +0000 (19:35 +0300)]
src/image.c: Fix last commit.

Fixes: debbugs:17790
10 years agoFix bug #17790 with compilation against giflib 5.1.0 and later.
Eli Zaretskii [Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)]
Fix bug #17790 with compilation against giflib 5.1.0 and later.

 src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
 prototype of DGifCloseFile as appropriate for older and newer
 versions of giflib.
 (gif_close): New function, encapsulates the differences in the
 calling sequence of DGifCloseFile before v5.1.0 and after it.
 (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
 error string where appropriate.

 lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
 and later.

10 years ago* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.
Juri Linkov [Wed, 18 Jun 2014 07:57:27 +0000 (10:57 +0300)]
* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.

Fixes: debbugs:17554
10 years ago* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
Stefan Monnier [Tue, 17 Jun 2014 13:40:03 +0000 (09:40 -0400)]
* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.

Fixes: debbugs:17737
10 years ago* notes/elpa: Use "git" instead of "bzr" in the name of machine to
Stephen Berman [Mon, 16 Jun 2014 21:29:08 +0000 (23:29 +0200)]
* notes/elpa: Use "git" instead of "bzr" in the name of machine to
clone the repository from.

10 years agoA better fix for bug #17777 with visual-order cursor movement.
Eli Zaretskii [Mon, 16 Jun 2014 19:38:28 +0000 (22:38 +0300)]
A better fix for bug #17777 with visual-order cursor movement.

 src/xdisp.c (Fmove_point_visually): Instead of testing for keyboard
 macro execution, make sure point didn't move since last complete
 redisplay, as the condition for using the glyph matrix
 information.

10 years agoFix bug#17732
Dmitry Gutov [Mon, 16 Jun 2014 03:33:29 +0000 (06:33 +0300)]
Fix bug#17732

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
`!' in `!~' with `font-lock-negation-char-face'.

10 years ago* dbus.texi (Type Conversion): Formatting edits in example.
Michael Albinus [Sun, 15 Jun 2014 12:19:38 +0000 (14:19 +0200)]
* dbus.texi (Type Conversion): Formatting edits in example.

10 years agoFix a regression bug in D-Bus event handling.
Michael Albinus [Sun, 15 Jun 2014 12:15:25 +0000 (14:15 +0200)]
Fix a regression bug in D-Bus event handling.

* net/dbus.el (dbus-call-method): Push only non D-Bus events into
`unread-command-events'.

10 years agoSpelling fix.
Paul Eggert [Sun, 15 Jun 2014 07:47:04 +0000 (00:47 -0700)]
Spelling fix.

10 years agoNEWS copyedits
Glenn Morris [Sat, 14 Jun 2014 23:57:24 +0000 (16:57 -0700)]
NEWS copyedits

10 years agoStop cc-mode loading cl at runtime
Glenn Morris [Sat, 14 Jun 2014 23:54:39 +0000 (16:54 -0700)]
Stop cc-mode loading cl at runtime

* lisp/progmodes/cc-langs.el: Require cl-lib.
Replace delete-duplicates and mapcan by cl- versions throughout.
And cl-macroexpand-all by macroexpand-all.
(delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.

Fixes: debbugs:17463
10 years agoPort part of the AIX fix to Solaris.
Paul Eggert [Sat, 14 Jun 2014 20:24:08 +0000 (13:24 -0700)]
Port part of the AIX fix to Solaris.

* configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
This ports part of the recent AIX fix to Solaris.  It is needed
for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
make sure that each thread has its own 'errno'.

Fixes: debbugs:17598
10 years agoFix documentation mentioned in bug #17768.
Eli Zaretskii [Sat, 14 Jun 2014 16:37:15 +0000 (19:37 +0300)]
Fix documentation mentioned in bug #17768.

 lisp/subr.el (posn-col-row): Doc fix.

 doc/lispref/commands.texi (Accessing Mouse): Improve the wording of the
 posn-col-row documentation.

10 years agoFix bug #17777 with keyboard macros and visual-order cursor movement.
Eli Zaretskii [Sat, 14 Jun 2014 11:09:10 +0000 (14:09 +0300)]
Fix bug #17777 with keyboard macros and visual-order cursor movement.

 src/xdisp.c (Fmove_point_visually): Don't use the glyph matrix
 information if we are in the middle of executing a keyboard macro,
 since redisplay doesn't update the screen until the macro is
 finished.

10 years ago* lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.
Juri Linkov [Sat, 14 Jun 2014 09:50:13 +0000 (12:50 +0300)]
* lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.

Fixes: debbugs:17759
10 years agosrc/xdisp.c: Enhance commentary.
Eli Zaretskii [Sat, 14 Jun 2014 09:44:20 +0000 (12:44 +0300)]
src/xdisp.c: Enhance commentary.

10 years ago* etc/PROBLEMS: Whitespace fix.
Glenn Morris [Fri, 13 Jun 2014 19:41:59 +0000 (15:41 -0400)]
* etc/PROBLEMS: Whitespace fix.

10 years ago* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
Stefan Monnier [Fri, 13 Jun 2014 15:31:17 +0000 (11:31 -0400)]
* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
bumping forward into a closing paren.

Fixes: debbugs:17761
10 years ago* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Stefan Monnier [Fri, 13 Jun 2014 15:06:29 +0000 (11:06 -0400)]
* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Terminal.app.

Fixes: debbugs:17607
10 years agoAttempt to fix bug #17771 with segfault if "C-h h" is interrupted.
Eli Zaretskii [Fri, 13 Jun 2014 13:53:24 +0000 (16:53 +0300)]
Attempt to fix bug #17771 with segfault if "C-h h" is interrupted.

 src/alloc.c (cleanup_vector): Don't dereference a font driver
 pointer if it is NULL.

10 years agoBackport fcntl.h AIX fix from the trunk.
Paul Eggert [Wed, 11 Jun 2014 20:03:46 +0000 (13:03 -0700)]
Backport fcntl.h AIX fix from the trunk.

This fixes a bug with the shell freezing.  See:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17598#185
Merge from gnulib, incorporating:
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
* lib/fcntl.in.h, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib.

10 years agoFix bug #17744 with cursor motion near overlay string with 'cursor' prop.
Eli Zaretskii [Wed, 11 Jun 2014 16:11:32 +0000 (19:11 +0300)]
Fix bug #17744 with cursor motion near overlay string with 'cursor' prop.

 src/xdisp.c (set_cursor_from_row): Fix an off-by-one error when
 matching overlay strings with 'cursor' property against buffer
 positions traversed in the glyph row.

10 years ago* doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change
Glenn Morris [Tue, 10 Jun 2014 21:07:22 +0000 (17:07 -0400)]
* doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change

10 years agoNEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc
Glenn Morris [Mon, 9 Jun 2014 00:59:28 +0000 (17:59 -0700)]
NEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc

10 years agoDoc fixes: markup (mainly nil -> @code{nil})
Glenn Morris [Sun, 8 Jun 2014 23:39:23 +0000 (16:39 -0700)]
Doc fixes: markup (mainly nil -> @code{nil})

10 years agoSimplify info.info for the stand-alone reader
Karl Berry [Sun, 8 Jun 2014 19:30:13 +0000 (22:30 +0300)]
Simplify info.info for the stand-alone reader

 doc/misc/info.texi (Help-^L): "mode line", "screenful",
 stand-alone and Emacs Info both use the mode line.
 Use x instead of weird C-x 0 to get rid of help msg
 in standalone Info.