Michael Vehrs
081e8d653d
Improve tbl support in woman.el.
...
* lisp/woman.el (woman-find-next-control-line): New arg, specifying an
additional regexp component for the control line.
(woman2-roff-buffer): Use it.
(woman-break-table): New function.
(woman2-TS): Use it.
And some cleanups:
* lisp/woman.el (woman-set-buffer-display-table, woman-decode-region)
(woman-horizontal-escapes, woman-negative-vertical-space)
(woman-tab-to-tab-stop, woman2-fc, woman2-TS)
(WoMan-warn-ignored): Use ?\s instead of ?\ .
Fixes: debbugs:5635
2012-04-21 13:54:39 +08:00
Paul Eggert
2f38dff7b3
* keyboard.c (process_pending_signals): Define only if SYNC_INPUT.
...
It is never used otherwise.
2012-04-20 14:26:18 -07:00
Stefan Monnier
ed571ccb1d
* lisp/minibuffer.el (completion-file-name-table): Complete user names.
2012-04-20 15:56:59 -04:00
Glenn Morris
61bb069e8c
Fix up merged ChangeLog entries
2012-04-20 09:27:52 -07:00
Stefan Monnier
4ae29f89be
* src/print.c (print_preprocess): Only check print_depth if print-circle
...
is nil.
(print_object): Check for cycles even when print-circle is nil and
print-gensym is t, but only check print_depth if print-circle is nil.
2012-04-20 09:02:20 -04:00
Leo Liu
39773899f3
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
...
and pcase-let*.
2012-04-20 19:36:21 +08:00
Chong Yidong
2d0e8e614a
Fix emacsclient/server behavior under --without-x.
...
* lib-src/emacsclient.c (main): Send -tty to Emacs under more circumstanced (Bug#8314).
* lisp/server.el (server-process-filter): Only try to open a window
system frame if compiled with graphical support (Bug#8314).
Fixes: debbugs:11102
2012-04-20 18:37:57 +08:00
Chong Yidong
de6ff46dce
* lisp/server.el (server-execute): Respect initial-buffer-choice
...
if it is a string and there are no files to open.
(server-create-window-system-frame, server-create-tty-frame):
Don't switch buffers here.
Fixes: debbugs:2825
2012-04-20 18:04:19 +08:00
Chong Yidong
c07a4c0b59
Merge from emacs-24 branch
2012-04-20 16:48:50 +08:00
Glenn Morris
50e5ebca7e
* etc/CONTRIBUTE: Expand a bit on copyright assignments.
2012-04-20 00:49:19 -07:00
Glenn Morris
c04627ac2b
* MORE.STUFF: General update.
...
Mention list-packages.
Remove many old/outdated URLs.
2012-04-20 00:37:20 -07:00
Dan Nicolaescu
540710130b
Fix sysfs battery display.
...
* battery.el (battery-echo-area-format): Display remaining time
for sysfs backend too (Bug#11269).
(battery-linux-sysfs): Fix conditional for the charge.
2012-04-20 15:32:35 +08:00
Chong Yidong
8912063b46
Fix last change.
...
* lisp/progmodes/gdb-mi.el (gdb-inferior-io-sentinel): Don't do
anything if gdb process is killed.
2012-04-20 15:13:25 +08:00
Chong Yidong
f30d612a7a
Fixes for pty handling in gdb-mi.el and process.c.
...
* lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
(gdb-inferior-io--init-proc): New function.
(gdb-init-1): Use it.
(gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
responsible for allocating a new pty and hooking it to gdb when
the old pty gets an EIO due to process exit.
(gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
(gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
(gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
* src/process.c (wait_reading_process_output): If EIO occurs on a pty,
set the status to "failed" and ensure that sentinel is run.
* doc/lispref/processes.texi (Asynchronous Processes): Mention nil
argument to start-process.
2012-04-20 14:39:29 +08:00
Eli Zaretskii
cd0f830c21
ChangeLog updates for last commit.
2012-04-20 09:28:32 +03:00
Eli Zaretskii
2116e93c7c
Doc fixes in window.el functions.
...
lisp/window.el (window-min-size, window-sizable, window-min-delta)
(window-max-delta, window--resizable, window-resizable)
(window-total-size, window-full-height-p, window-full-width-p)
(window-in-direction, window--resize-mini-window, window-resize)
(window--resize-child-windows-normal)
(window--resize-child-windows, window--resize-siblings)
(window--resize-this-window, adjust-window-trailing-edge)
(enlarge-window, shrink-window): Doc fixes.
2012-04-20 09:27:11 +03:00
Eli Zaretskii
6cf2a23e29
Put the '$Id:' tag into MS-Windows executable of Emacs.
...
lisp/version.el (top level): Put into the executable the ident-style
'$Id:' tag on windows-nt as well.
2012-04-20 08:57:38 +03:00
Eli Zaretskii
539aa51394
Doc fixes for emacs-bzr-* facilities.
...
lisp/version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2012-04-20 08:47:55 +03:00
Glenn Morris
5db6195faa
FOR-RELEASE small edits
2012-04-19 21:03:55 -07:00
Glenn Morris
adee4030b5
Some rough FAQ additions for Emacs 24
...
* doc/misc/faq.texi (New in Emacs 24): New section.
(Packages that do not come with Emacs): Mention M-x list-packages.
2012-04-19 22:19:43 -04:00
Glenn Morris
b58b1df840
More small edits for doc/lispref/minibuf.texi
...
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/lispref/minibuf.texi (Completion):
Update "High-Level Completion" description.
* doc/lispref/minibuf.texi (Basic Completion):
No need to describe obarrays here.
Don't mention obsolete `nospace' argument of all-completions.
(Minibuffer Completion, Completion Commands, Reading File Names)
(Completion Variables): Copyedits.
(Completion Commands): Mention parent keymaps.
Remove obsolete minibuffer-local-filename-must-match-map.
(High-Level Completion): Remove read-variable's almost
word-for-word duplication of read-command.
2012-04-19 21:37:14 -04:00
Stefan Monnier
cfc7d5da20
* lisp/electric.el (electric-indent-post-self-insert-function): Check that
...
electric-indent-mode is enabled in current buffer.
2012-04-19 18:02:25 -04:00
Juanma Barranquero
5b01685cc1
lisp/imenu.el (imenu-progress-message): Restore.
2012-04-19 23:34:49 +02:00
Juanma Barranquero
4d6769e1bb
lisp/*: Add declarations, remove unused bindings, mark unused args.
...
* lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
(mouse-avoidance-nudge-mouse): Remove unused binding.
* lisp/imenu.el (imenu-default-goto-function): Mark unused args.
(imenu-progress-message): Remove obsolete macro; all callers changed.
* lisp/mouse.el (mouse-menu-major-mode-map):
* lisp/emacs-lisp/authors.el (authors-scan-change-log)
(authors-add-to-author-list):
* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
* lisp/emacs-lisp/smie.el (smie-auto-fill):
* lisp/mail/sendmail.el (mail-bury):
* lisp/mail/unrmail.el (unrmail):
* lisp/net/tls.el (open-tls-stream):
* lisp/textmodes/picture.el (picture-mouse-set-point):
Remove unused bindings.
* lisp/subr.el (keymap-canonicalize): Remove unused binding.
(read-passwd): Mark unused arg.
* lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
(tutorial--save-tutorial-to): Remove unused variable.
* lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
(package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
(package-generate-autoloads, package-menu--generate)
(package-menu--find-upgrades): Remove unused bindings.
* lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
(cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
(cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
(cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
(cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
(cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
(cua--rectangle-aux-replace, cua--left-fill-rectangle)
(cua-scroll-rectangle-up, cua-scroll-rectangle-down)
(cua-delete-char-rectangle): Mark unused args.
(cua-align-rectangle): Remove unused binding.
* lisp/mail/rmail.el (compilation--message->loc)
(epa--find-coding-system-for-mime-charset): Declare.
* lisp/net/dbus.el (dbus-register-service): Declare.
(dbus-name-owner-changed-handler): Remove unused binding.
* lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
(nxml-compute-indent-from-matching-start-tag): Remove unused variables.
(nxml-scan-backward-within): Mark unused arg.
(nxml-dynamic-markup-word): Remove unused binding.
2012-04-19 19:20:26 +02:00
Juanma Barranquero
376cbaccd9
Remove some `toggle-read-only' warnings.
...
* lisp/bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
* lisp/descr-text.el (describe-char):
lisp/progmodes/python.el (python-describe-symbol):
Don't call `toggle-read-only', set `buffer-read-only'.
2012-04-19 18:50:07 +02:00
Glenn Morris
a6b92a4a56
Auto-commit of generated files.
2012-04-19 06:17:36 -04:00
Michael Albinus
8c8fc5df12
* net/tramp.el (tramp-action-password): Let-bind enable-recursive-minibuffers to t.
2012-04-19 10:37:10 +02:00
Chong Yidong
b668fa6eb0
Delete the gdb-inferior pty when the gdb process exits.
...
* lisp/progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
function to call delete-process on the gdb-inferior buffer's pty.
(gdb-reset): Use it, instead of relying on kill-buffer to kill the
pty process.
(gdb-update): New arg to suppress talking to the gdb process.
(gdb-done-or-error): Use it.
(gdb-stopped-functions): Rename from gdb-stopped-hooks.
(gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
sentinel not being called.
* lisp/comint.el (make-comint-in-buffer, comint-exec): Doc fix.
Fixes: debbugs:11273
2012-04-19 16:09:30 +08:00
Glenn Morris
c5467d73ae
ChangeLog fix
2012-04-18 23:05:58 -07:00
Glenn Morris
c0ea08d2d1
More small edits for doc/lispref/minibuf.texi
...
* doc/lispref/minibuf.texi (Object from Minibuffer):
Remove overly pedantic paragraph.
(Minibuffer History): Copyedits. Add face-name-history.
(Initial Input, Yes-or-No Queries, Multiple Queries)
(Minibuffer Windows, Minibuffer Misc): Copyedits.
(Yes-or-No Queries): Tweak example.
(Minibuffer Commands): Add next-complete-history-element.
(Minibuffer Misc): Mention minibuffer-message-timeout, and
minibuffer-inactive-mode.
* doc/lispref/minibuf.texi (Minibuffers):
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Fix minibuffer subsection order.
* lisp/subr.el: Comment.
2012-04-18 23:04:05 -07:00
Glenn Morris
78c1f4901d
Shameful typo
2012-04-18 19:44:48 -07:00
Glenn Morris
9d2754f50c
Small edits for doc/lispref/minibuf.texi
...
* doc/lispref/minibuf.texi: Standardize metasyntactic variables
("history", etc).
Use Texinfo-recommended form of quote+punctuation.
(Intro to Minibuffers): First minibuffer is #1 , not #0 .
Mention minibuffer-inactive-mode.
(Text from Minibuffer): Copyedits.
(Minibuffer History, Programmed Completion): Fix @var usage.
2012-04-18 22:00:23 -04:00
Sam Steingold
a77b0ac992
* lisp/progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
...
instead of 'string to accommodate values like [f11].
Always use `vconcat' instead of `concat' on it, like in `gud-def'.
* lisp/progmodes/gdb-mi.el: Likewise.
2012-04-18 16:26:57 -04:00
Paul Eggert
99c8ec3fbf
Merge from trunk.
2012-04-18 10:07:06 -07:00
Paul Eggert
6c94c34fe8
Merge from trunk.
2012-04-18 09:45:13 -07:00
Leo Liu
12a106a903
* lisp/abbrev.el (edit-abbrevs): Move point to the abbrev table of
...
current buffer.
(prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
LOCAL is nil.
2012-04-19 00:43:23 +08:00
Paul Eggert
e36899b642
* configure.in: Do not assume GCC 4.7.0 and/or no stack protection.
2012-04-18 09:40:06 -07:00
Glenn Morris
02a540a127
Auto-commit of generated files.
2012-04-18 07:17:59 -04:00
Glenn Morris
4373fd4326
More small doc and lispref edits related to processes
...
* doc/lispref/processes.texi (Serial Ports, Byte Packing, Bindat Spec)
(Bindat Functions): Copyedits.
* src/process.c (Fset_process_inherit_coding_system_flag)
(Fset_process_query_on_exit_flag): Doc fix (mention return value).
(Fmake_network_process, Fmake_serial_process): Doc fix.
* admin/FOR-RELEASE: Related markup.
2012-04-18 00:21:18 -07:00
Chong Yidong
bc6494efe3
* simple.el (line-move): Use forward-line if in batch mode.
...
Fixes: debbugs:11053
2012-04-18 15:00:52 +08:00
Christopher Schmidt
c09c46b263
Fix require-final-newline interaction with read-only buffers.
...
* lisp/files.el (after-find-file): Do not try to add a final newline
if the buffer is read-only.
Fixes: debbugs:11156
2012-04-18 14:24:13 +08:00
Christopher Schmidt
0e80650b8b
Docfix for require-final-newline in Lisp manual.
...
* doc/lispref/files.texi (Saving Buffers): Document `visit and `visit-save'
values of require-final-newline.
2012-04-18 14:20:47 +08:00
Chong Yidong
d02766abd7
* lisp/progmodes/grep.el (grep, rgrep): Doc fix.
...
Fixes: debbugs:11268
2012-04-18 14:04:51 +08:00
Glenn Morris
016a35dfa7
More process-related doc and manual small edits
...
* doc/lispref/processes.texi (Output from Processes, Filter Functions):
Mention waiting-for-user-input-p.
(Sentinels, Query Before Exit, System Processes, Transaction Queues):
(Network Servers, Datagrams, Network Processes, Network Options)
(Network Feature Testing, Serial Ports): Copyedits.
(Network): Add encrypted network overview paragraph.
Cross-reference the Emacs-GnuTLS manual. Use @acronym.
* lisp/net/network-stream.el (open-network-stream): Doc fix.
* src/process.c (Fset_process_inherit_coding_system_flag)
(Fset_process_query_on_exit_flag): Doc fix (mention return value).
(Fmake_network_process): Doc fix.
2012-04-17 20:48:43 -07:00
Ludovic Courtès
d666446d7d
* configure.in: Don't use the -R option (Bug#11251).
2012-04-18 10:14:53 +08:00
Richard M. Stallman
5f6530ea79
Fix logic for returning to and yanking from Rmail buffer.
2012-04-17 19:23:20 -04:00
Paul Eggert
6c91c9f0a5
Fix ChangeLog typo.
2012-04-17 16:06:33 -07:00
Paul Eggert
6083b85e04
Merge from trunk.
2012-04-17 15:57:44 -07:00
Paul Eggert
aba027e80c
* dired.c (Fsystem_groups): Remove unused local.
2012-04-17 15:56:06 -07:00
Paul Eggert
67546201c0
INSTALL: Mention --enable-gcc-warnings.
2012-04-17 14:40:07 -07:00