Fabián Ezequiel Gallina
656f99beeb
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
2014-06-21 11:14:54 -03:00
Eli Zaretskii
edd112b7f8
lisp/skeleton.el (skeleton-insert): Fix last change.
2014-06-21 16:41:44 +03:00
Fabián Ezequiel Gallina
3114d9e702
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
2014-06-21 08:26:43 -03:00
Eli Zaretskii
900f938409
lisp/skeleton.el (skeleton-insert): Doc fix.
2014-06-21 11:01:52 +03:00
Stefan Monnier
55d4eba2d0
* 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
2014-06-20 17:10:40 -04:00
Stefan Monnier
f49b49787c
* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
...
since it's already done inside the loop (bug#17819).
2014-06-20 14:35:04 -04:00
Martin Rudalics
9754868705
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).
2014-06-20 19:24:18 +02:00
Stefan Monnier
9e248ebdc7
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
...
align with the surrounding parent.
Fixes: debbugs:17721
2014-06-20 10:23:30 -04:00
Eli Zaretskii
58b9840b35
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.
2014-06-20 11:47:10 +03:00
Stefan Monnier
500dce5f4d
* 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
2014-06-19 21:05:40 -04:00
Leo Liu
2c25d5e621
* simple.el (read-quoted-char): Don't let help chars pop up help
...
buffer.
Fixes: debbugs:16617
2014-06-20 08:14:43 +08:00
Stefan Monnier
e9638b49e5
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
...
for |.
Fixes: debbugs:17621
2014-06-19 18:52:12 -04:00
Stefan Monnier
bc2fb4fdad
* 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
2014-06-18 18:02:15 -04:00
Eli Zaretskii
b86b15b221
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.
2014-06-18 18:15:52 +03:00
Juri Linkov
d35b443a66
* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.
...
Fixes: debbugs:17554
2014-06-18 10:57:27 +03:00
Stefan Monnier
c18add241d
* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
...
Fixes: debbugs:17737
2014-06-17 09:40:03 -04:00
Dmitry Gutov
6a7faa1664
Fix bug#17732
...
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
`!' in `!~' with `font-lock-negation-char-face'.
2014-06-16 06:33:29 +03:00
Michael Albinus
2c7bf3ce24
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'.
2014-06-15 14:15:25 +02:00
Glenn Morris
cd7d4e9b38
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
2014-06-14 16:54:39 -07:00
Eli Zaretskii
859488bf22
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.
2014-06-14 19:37:15 +03:00
Juri Linkov
5be5f2854a
* lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.
...
Fixes: debbugs:17759
2014-06-14 12:50:13 +03:00
Stefan Monnier
bf26b463ea
* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
...
bumping forward into a closing paren.
Fixes: debbugs:17761
2014-06-13 11:31:17 -04:00
Stefan Monnier
40be983bc6
* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
...
Terminal.app.
Fixes: debbugs:17607
2014-06-13 11:06:29 -04:00
Glenn Morris
6d069b1b3a
Small doc updates re initial-buffer-choice
...
* doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.
* doc/emacs/misc.texi (emacsclient Options): Copyedit.
* doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.
* lisp/startup.el (initial-buffer-choice): Doc fix.
Reset :version (adding an option does not merit a :version bump).
2014-06-08 10:46:51 -07:00
Glenn Morris
99d8aedf0d
Doc edits re uniquify
...
* doc/emacs/buffers.texi (Uniquify): Copyedits.
* doc/emacs/files.texi (Visiting): Update for uniquify changes.
* doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.
* doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.
* lisp/bookmark.el (bookmark-load): Doc fix.
* lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.
* lisp/files.el: Comment.
* etc/NEWS: Related edit.
2014-06-08 00:41:27 -07:00
Juri Linkov
7f11800984
* lisp/desktop.el: Activate auto-saving on window configuration changes.
...
(desktop-save-mode, desktop-auto-save-timeout): Add/remove
`desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
(desktop-auto-save-set-timer): Change REPEAT arg of
`run-with-idle-timer' from t to nil.
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2014-06-07 02:38:40 +03:00
Santiago Payà i Miralta
f4be80b783
* lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
...
vc-hg-command.
Fixes: debbugs:17570
2014-06-06 12:29:55 -04:00
Stefan Monnier
28b8329726
* lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.
...
Fixes: debbugs:17702
2014-06-06 10:25:39 -04:00
Glenn Morris
b83798031c
Doc updates re window-setup-hook
...
* lisp/startup.el (window-setup-hook): Doc fix.
* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.
* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.
* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.
2014-06-06 00:19:23 -07:00
Glenn Morris
879f52734c
* lisp/emacs-lisp/package.el: Comment update
2014-06-05 00:08:42 -07:00
Glenn Morris
e1b3f35f93
Some documentation for signing of packages
...
* doc/emacs/package.texi (Package Menu, Package Installation):
Mention signed packages.
* doc/lispref/package.texi (Package Archives): Mention signing packages.
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Doc fixes.
* etc/NEWS: Related edits.
2014-06-04 23:15:44 -07:00
Martin Rudalics
4a52a98a9a
In display-buffer-use-some-window don't shrink window used (Bug#17671).
...
* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).
2014-06-03 14:38:17 +02:00
Eli Zaretskii
0016fa11a7
Minor fix of the last commit in menu-bar-open.
...
lisp/menu-bar.el (menu-bar-open): Fix last change: use the PC
'(redisplay)' instead of '(sit-for 0)'.
2014-06-03 12:50:04 +03:00
Michael Albinus
a336b2eae3
Fix Bug#17653.
...
* net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.
2014-06-03 09:43:24 +02:00
Glenn Morris
910dc8d312
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.
...
* etc/NEWS: Related edit.
2014-06-02 21:41:20 -07:00
Eli Zaretskii
3359086911
Fix TTY menu invocation via M-x.
...
lisp/menu-bar.el (menu-bar-open): Fix invocation via M-x by forcing
the update of the menu bar.
2014-06-02 21:58:36 +03:00
Eli Zaretskii
082c97e81f
Fix bug #17615 with C-g during macro definition.
...
lisp/simple.el (keyboard-quit): Force update of mode lines, to remove
the "Def" indicator, if we were defining a macro.
2014-06-01 18:19:14 +03:00
Glenn Morris
bcbee9833a
Auto-commit of loaddefs files.
2014-06-01 07:22:53 -04:00
Stefan Monnier
08c0f6266a
* lisp/minibuffer.el (minibuffer-force-complete-and-exit):
...
Obey minibuffer-default.
Fixes: debbugs:17545
2014-05-31 22:24:23 -04:00
Stefan Monnier
ffa8a2db08
* lisp/progmodes/js.el (js-indent-line): Don't mix columns and chars.
...
Fixes: debbugs:17619
2014-05-31 21:53:04 -04:00
Stefan Monnier
8889b935d1
* lisp/subr.el (set-transient-map): Don't wait for some "nested"
...
transient-map to finish if we're only supposed to be active for
the next command.
Fixes: debbugs:17642
2014-05-31 16:02:47 -04:00
Leo Liu
e41682ae9c
* emacs-lisp/gv.el (window-buffer, window-display-table)
...
(window-dedicated-p, window-hscroll, window-point, window-start):
Fix gv-expander.
Fixes: debbugs:17630
2014-05-31 23:43:43 +08:00
Stefan Monnier
3a73c34c47
* lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
...
clicks.
Fixes: debbugs:17633
2014-05-31 08:32:36 -04:00
Stefan Monnier
b701ac4945
* lisp/subr.el (sit-for): Add comment with a short history.
2014-05-30 22:13:13 -04:00
Stefan Monnier
90cd9b1384
* lisp/leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
...
for the single comma, since ", " is *very* common in normal French text.
Fixes: debbugs:17643
2014-05-30 21:01:19 -04:00
Glenn Morris
ff66db7950
Fix typo in previous
2014-05-29 22:15:29 -07:00
Glenn Morris
ab84733c35
package.el: Fix some version tags
...
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Fix :version.
2014-05-29 22:08:10 -07:00
Stefan Monnier
2f8165f415
* lisp/subr.el (sit-for): Don't run input-methods.
...
Fixes: debbugs:15614
2014-05-29 12:38:01 -04:00
Glenn Morris
18348234f7
* lisp/cus-start.el: Fix some :version numbers.
2014-05-28 08:48:39 -07:00
Andreas Schwab
e494904ce4
* html2text.el (html2text-get-attr): Fix typo when splitting value from
...
attribute. (Bug#17613)
2014-05-28 08:35:53 +02:00