1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00
Commit graph

115021 commits

Author SHA1 Message Date
Fabián Ezequiel Gallina
dd27d13b50 * progmodes/python.el (python-shell-send-string):
(python-shell-send-string-no-output): Fix docstring.

Fixes: debbugs:16547
2014-02-04 16:35:52 -03:00
Paul Eggert
8e5917ecb3 * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
It prompted a compile-time diagnostic on GNU/Linux.
Simplify to remove the need for the label.
2014-02-04 11:24:09 -08:00
Anders Lindgren
08e4189736 * lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
the names.

Fixes: debbugs:16620
2014-02-04 12:37:08 -05:00
Eli Zaretskii
8101203ad7 src/w32fns.c (Fw32_shell_execute): Improve commentary. 2014-02-04 18:25:52 +02:00
Eli Zaretskii
e139a33cd9 Fix bug #16636 with simple dialogs on MS-Windows.
src/w32menu.c (w32_popup_dialog): Don't condition the whole function
 on HAVE_DIALOGS.  If the dialog is "simple", pop up a message box
 to show it; otherwise return 'unsupported--w32-dialog' to signal
 to the caller that emulation with menus is necessary.  This
 resurrects code inadvertently deleted by the 2013-10-08 commit.
 (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
 src/w32term.h (w32_popup_dialog): Prototype is no longer conditioned
 by HAVE_DIALOGS.
 src/menu.c (Fx_popup_dialog): Don't condition the call to
 w32_popup_dialog on HAVE_DIALOGS.  If w32_popup_dialog returns a
 special symbol 'unsupported--w32-dialog', emulate the dialog with
 a menu by calling x-popup-menu.
 src/menu.h (Qunsupported__w32_dialog): New extern variable.
2014-02-04 18:13:51 +02:00
Michael Albinus
40d2f2e4bb * automated/file-notify-tests.el (file-notify--wait-for-events):
Use `read-event' instead of `sit-for'.
(file-notify-test02-events): Remove expected result, the bug is
fixed meanwhile.
(file-notify-test02-events, file-notify-test03-autorevert):
Use `sleep-for' instead of `sit-for'.
2014-02-04 12:41:20 +01:00
Michael Albinus
86d2bf4996 * keyboard.c (kbd_buffer_get_event): Read file notification events
also in batch mode.

* xgselect.c (xg_select): Read glib events in any case, even if
there are no file descriptors to watch for.  (Bug#16519)
2014-02-04 12:40:31 +01:00
Martin Rudalics
764ec9e5f0 Improve window dividers code.
* faces.el (window-divider): New default value.  Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
* w32term.c (w32_draw_window_divider): Handle first and last
pixels specially.
* w32term.h (w32_fill_area_abs): New function.
* xdisp.c (x_draw_right_divider): Don't draw over bottom
divider.
* xfaces.c (realize_basic_faces): Handle new face ids.
* xfns.c (Fx_create_frame): Call x_default_parameter for right
and bottom divider width.
* xterm.c (x_draw_window_divider): Handle first and last pixels
specially.
2014-02-04 08:36:58 +01:00
Dmitry Gutov
6da8227cfa * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
`protected' and `public' can also be called without arguments.
2014-02-03 17:59:39 +02:00
Dmitry Antipov
9cad4576df * eval.c (call_debugger): Grow specpdl if the debugger was
entered due to specpdl overflow (Bug#16603) and allow more
specpdl space for the debugger itself.
2014-02-03 13:37:43 +04:00
Glenn Morris
7bcbca405f Tidy up some -to-register function argument specs
* lisp/register.el (window-configuration-to-register)
(frame-configuration-to-register): Unadvertise unused argument.

* lisp/frameset.el (frameset-to-register): Remove unused argument.
2014-02-02 23:56:44 -08:00
Glenn Morris
15baaea8e7 Revert earlier desktop-auto-save doc changes
I don't understand this feature.
2014-02-02 23:35:44 -08:00
Glenn Morris
ce0ef8febf * doc/misc/cl.texi (Blocks and Exits): Tweak earlier change. 2014-02-02 23:26:59 -08:00
Dmitry Antipov
34baf96c31 * print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.
2014-02-03 11:05:28 +04:00
Glenn Morris
be445cf2ab Some doc for desktop-auto-save-timeout
* doc/emacs/misc.texi (Saving Emacs Sessions):
Mention desktop-auto-save-timeout.

* lisp/desktop.el (desktop-save-mode): Doc fix.

* etc/NEWS: Related edit.
2014-02-02 19:12:29 -08:00
Glenn Morris
f16a3d523a * doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.
* etc/NEWS: Related edit.
2014-02-02 18:58:13 -08:00
Glenn Morris
eb9b8ff6af * etc/NEWS: Mention register-read-with-preview. 2014-02-02 17:03:11 -08:00
Glenn Morris
6a6b8e405e Be more consistent in using register-read-with-preview to read registers
* frameset.el (frameset-to-register):
* kmacro.el (kmacro-to-register):
* register.el (increment-register):
* calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
(calc-append-to-register, calc-prepend-to-register):
* play/gametree.el (gametree-layout-to-register)
(gametree-apply-register-layout):
* textmodes/picture.el (picture-clear-rectangle-to-register)
(picture-yank-rectangle-from-register):
* vc/emerge.el (emerge-combine-versions-register):
Use register-read-with-preview to read registers.

* cedet/semantic/senator.el (senator-copy-tag-to-register):
Use register-read-with-preview, if available.

* calculator.el, emulation/viper-cmd.el: Comments.
2014-02-02 16:40:49 -08:00
João Távora
5dca7759a7 Fix `electric-pair-backward-delete-char' error at bob
* lisp/elec-pair.el (electric-pair-backward-delete-char): Don't error
when at beginning of (possibly narrowed) buffer.
2014-02-03 00:28:57 +00:00
Daniel Colascione
709085b93d Make help-at-point stuff also look just before point 2014-02-02 14:21:33 -08:00
Alan Mackenzie
99f7b0a6d6 c-parse-state. Don't "append-lower-brace-pair" in certain
circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
recognised as a comment.

* progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
as well as normal comment starter.
(c-parse-state-get-strategy): Extra return possibility
'back-and-forward.
(c-remove-stale-state-cache): Extra element CONS-SEPARATED in
return value list to indicate replacement of a brace-pair cons
with its car.
(c-parse-state-1): With 'back-and-forward, only call
c-append-lower-brace-pair-to state-cache when cons-separated.
2014-02-02 16:28:52 +00:00
Jan Djärv
f0a1057646 Disallow suspend-emacs under NS
* term/ns-win.el (ns-suspend-error): New function.
(ns-initialize-window-system): Add ns-suspend-error to
suspend-hook.

Fixes: debbugs:16612
2014-02-02 15:10:50 +01:00
Martin Rudalics
b41686493e In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)
* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)
2014-02-02 14:00:41 +01:00
Daniel Colascione
b8d552c2f0 Make loading cc-mode silent 2014-02-02 02:25:29 -08:00
Daniel Colascione
f2b7d12378 Tweak comint docstring to suggest remap bindings 2014-02-01 23:51:26 -08:00
Glenn Morris
4472a19603 register.el doc fixes
* lisp/register.el (register-read-with-preview, point-to-register)
(window-configuration-to-register, frame-configuration-to-register)
(jump-to-register, number-to-register, view-register, insert-register)
(copy-to-register, append-to-register, prepend-to-register)
(copy-rectangle-to-register): Doc fixes.
2014-02-01 19:42:20 -08:00
Stefan Monnier
70e5a261ac * lisp/help-fns.el (help-C-file-name): Handle advised functions.
* lisp/emacs-lisp/find-func.el (find-function-C-source): Idem.
* lisp/emacs-lisp/nadvice.el (advice--cd*r): New function.
* help-fns.el (describe-function-1): Use it.

Fixes: debbugs:16478
2014-02-01 21:25:05 -05:00
Glenn Morris
65bc4bb587 * doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.
* etc/NEWS: Related edits.
2014-02-01 17:16:18 -08:00
Glenn Morris
7c3247627a register preview fixes
* doc/emacs/regs.texi (Registers): Mention previewing.

* lisp/register.el (register-preview-default): New function,
split from register-preview.
(register-preview-function): Rename from register-preview-functions,
make it not a hook.
(register-preview): Use register-preview-function.
(register-read-with-preview): Error on non-character event. 

* etc/NEWS: Related markup.

Fixes: debbugs:16595
2014-02-01 17:04:08 -08:00
Eli Zaretskii
28e6cee817 Attempt to solve bug #16615 by using a more accurate function prototype.
src/w32fns.c (Ffile_system_info): Use WINAPI in the function
 pointers that get the address of GetDiskFreeSpaceEx.
2014-02-01 22:10:37 +02:00
Dmitry Gutov
68e004e0cd Fix bug#16610
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): For built-ins
that require arguments, check that they're followed by something that
looks like argument.
2014-02-01 19:06:08 +02:00
Dmitry Gutov
a09beb3df2 Fix bug#16609
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
`:' before binary operators.  Don't check for `:'
before `[' and `(', or their syntax status.  A percent literal
can't end with either.
2014-02-01 16:54:58 +02:00
Eli Zaretskii
9ef58a52ac Fix bug #16448 with non-ASCII error messages in batch mode.
src/print.c (Fexternal_debugging_output): If the argument character
 is non-ASCII, encode it with the current locale's encoding before
 writing the result to the terminal.
2014-02-01 13:53:10 +02:00
Glenn Morris
2f31004a73 Auto-commit of loaddefs files. 2014-02-01 06:17:37 -05:00
Eli Zaretskii
cb13e9a842 Fix bug #16558 with w32-shell-execute on remote file names.
src/w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
 DOCUMENT that is a "remote" file name, i.e. a file-handler exists
 for it.
2014-02-01 11:22:51 +02:00
Lars Ingebrigtsen
94304aea88 nnir mark update fix
* nnir.el (nnir-request-update-mark): Don't try to update the source
group if we can't find it (bug#16611).
2014-02-01 00:26:31 -08:00
Lars Ingebrigtsen
ed4d2875a8 Check in forgotten ChangeLog entry from previous nbutlast change 2014-01-31 23:55:57 -08:00
Lars Ingebrigtsen
79278d0313 * subr.el (butlast): Document what an omitted N means.
* subr.el (butlast): Document what an omitted N means.
(nbutlast): Ditto.

Fixes: debbugs:13437
2014-01-31 23:54:29 -08:00
Lars Ingebrigtsen
cc477daa01 Make shr respect privacy when viewing documents with SVG images
(shr-tag-svg): Respect `shr-inhibit-images'.
(shr-dom-to-xml): Respect `shr-blocked-images'.

Fixes: debbugs:15882
2014-01-31 13:44:11 -08:00
Lars Ingebrigtsen
dba6e3ec42 Make shr-generic into a defsusbt to make the stack shallower
* net/shr.el (shr-generic): Make into a defsubst to make the stack
depth shallower.
2014-01-31 13:08:13 -08:00
Dmitry Gutov
2f313daf4a Fixup the documentation for the previous change
* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593
2014-01-31 19:33:12 +02:00
Dmitry Gutov
e2a67bd08e Implement user option ruby-align-chained-calls
* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593
2014-01-31 19:13:49 +02:00
Lars Ingebrigtsen
ec80e68933 lisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked-in test code from last checkin 2014-01-31 10:13:28 +00:00
Juri Linkov
bd21bf41c0 Misc small fixes.
* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.
2014-01-31 11:41:54 +02:00
Lars Ingebrigtsen
579d49fa6e lisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing 2014-01-31 08:33:13 +00:00
Glenn Morris
a69ecd19fe Delete Selection mode doc updates
* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.
2014-01-30 23:28:17 -08:00
Glenn Morris
9997d7e3e3 trace.el doc updates
* lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.

Commentary update for this package now using nadvice.el, not advice.el.

* etc/NEWS: Related edits.
2014-01-30 23:15:54 -08:00
Glenn Morris
23dc6d0ccd * lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
* etc/NEWS: Related markup.
2014-01-30 22:39:51 -08:00
Glenn Morris
fbb764b8bc * lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Reset :version, since the default value has not changed.

* etc/NEWS: Related edits.
2014-01-30 22:34:44 -08:00
Glenn Morris
da942af18c Some doc related to register-preview
* lisp/register.el (register-preview-delay, register-read-with-preview):
Doc fixes.

* etc/NEWS: Related edits.
2014-01-30 22:20:29 -08:00