Stefan Monnier [Tue, 18 Mar 2014 01:51:12 +0000 (21:51 -0400)]
* doc/lispref/functions.texi (Advising Functions): Try and improve the text.
Add example use of advice-add.
(Core Advising Primitives): Rename. Explain handling of interactive
specs, including advice-eval-interactive-spec.
(Advising Named Functions): Try and better explain the difference with
add-function.
(Porting old advices): New node.
Fixes: debbugs:16959
Paul Eggert [Tue, 18 Mar 2014 01:19:03 +0000 (18:19 -0700)]
Style fixes for floating-point doc.
* commands.texi, customize.texi, display.texi, elisp.texi, files.texi:
* frames.texi, hash.texi, internals.texi, keymaps.texi, lists.texi:
* minibuf.texi, nonascii.texi, numbers.texi, objects.texi, os.texi:
* processes.texi, streams.texi, strings.texi, text.texi:
* variables.texi, windows.texi:
Hyphenate "floating-point" iff it precedes a noun.
Reword to avoid nouns and hyphenation when that's easy.
Prefer "integer" to "integer number" and "is floating point"
to "is a floating point number".
Prefer "@minus{}" to "-" when it's a minus.
Juanma Barranquero [Tue, 18 Mar 2014 01:13:00 +0000 (02:13 +0100)]
lisp/ChangeLog: Move up misplaced entry.
lisp/org/ChangeLog: Fix typo.
Daniel Colascione [Tue, 18 Mar 2014 00:42:37 +0000 (17:42 -0700)]
Remove old debug print
Ted Zlatanov [Mon, 17 Mar 2014 21:29:56 +0000 (17:29 -0400)]
gnutls.c (Fgnutls_boot): Fix case of :verify-error = t.
Stefan Monnier [Mon, 17 Mar 2014 18:30:53 +0000 (14:30 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): New function.
(advice--make-interactive-form): Use it to avoid (auto)loading function.
(advice--make-1, advice-add, advice-remove):
Remove braindead :advice-pending hack.
Glenn Morris [Mon, 17 Mar 2014 16:04:32 +0000 (09:04 -0700)]
* lisp/calendar/calendar.el (calendar-generate-month): Apply weekend face
to the right days; fixes 2013-08-06 change.
Fixes: debbugs:17028
Michael Albinus [Mon, 17 Mar 2014 09:28:47 +0000 (10:28 +0100)]
* net/tramp.el (tramp-action-out-of-band): Read pending output.
(tramp-call-process): Trace also DESTINATION.
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Quote file names when they are local. Remove superfluous trace.
Dmitry Gutov [Mon, 17 Mar 2014 06:48:09 +0000 (08:48 +0200)]
Restore compatibility with legacy comment-start-skip values
* lisp/newcomment.el (comment-beginning): If `comment-start-skip'
doesn't match, move back one char and try again.
Fixes: debbugs:16971
Dmitry Gutov [Mon, 17 Mar 2014 06:22:58 +0000 (08:22 +0200)]
Fix debbugs#16971
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Set
`comment-use-syntax' to t to avoid the unnecessary runtime check.
Set `comment-start-skip' to a simpler value that doesn't try to
check if the semicolon is escaped (this is handled by
`syntax-ppss' now).
* lisp/progmodes/scheme.el (scheme-mode-variables): Same.
Bill Wohler [Mon, 17 Mar 2014 00:50:05 +0000 (17:50 -0700)]
Merge from mh-e; up to 2012-01-03T19:41:14Z!larsi@gnus.org.
Eli Zaretskii [Sun, 16 Mar 2014 16:31:50 +0000 (18:31 +0200)]
src/ChangeLog: Fix a typo in last commit.
Eli Zaretskii [Sun, 16 Mar 2014 16:28:34 +0000 (18:28 +0200)]
Fix bug #16830 with slow search for newlines in forward-line.
src/search.c (find_newline): Speed up the function when using the
newline cache, by halving the number of calls to
region_cache_forward and region_cache_backward.
Martin Rudalics [Sun, 16 Mar 2014 09:26:58 +0000 (10:26 +0100)]
Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
* window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
current (Bug#16816, Bug#17007).
(with-current-buffer-window): New macro doing the same as
`with-temp-buffer-window' but with BUFFER-OR-NAME current.
* help.el (help-print-return-message): Warn in doc-string to not
use this in `with-help-window'.
(describe-bindings-internal): Call `describe-buffer-bindings'
from within help buffer. See Juanma's scenario in (Bug#16816).
(with-help-window): Update doc-string.
* dired.el (dired-mark-pop-up):
* files.el (save-buffers-kill-emacs):
* register.el (register-preview): Use `with-current-buffer-window'
instead of `with-temp-buffer-window'.
* display.texi (Temporary Displays): Rewrite descriptions of
`with-output-to-temp-buffer' and `with-temp-buffer-window'.
* help.texi (Help Functions): Rewrite description of
`with-help-window'.
Juanma Barranquero [Sun, 16 Mar 2014 03:48:56 +0000 (04:48 +0100)]
lisp/textmodes/css-mode.el: Fix typo in comment.
Juanma Barranquero [Sun, 16 Mar 2014 03:47:31 +0000 (04:47 +0100)]
lisp/textmodes/rst.el: Implement missing but documented functionality.
(rst-arabic-to-roman, rst-roman-to-arabic):
Implement inserting into current buffer, documented in their docstrings.
(rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
(rst-section-tree-point, rst-forward-section, rst-indent)
(rst-compute-tabs, rst-font-lock-find-unindented-line-end)
(rst-font-lock-find-unindented-line-limit, rst-adornment-level)
(rst-font-lock-handle-adornment-pre-match-form)
(rst-repeat-last-character): Reflow docstrings.
(rst-preferred-adornments, rst-update-section, rst-find-title-line)
(rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
(rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
(rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
Fix docstring typos.
(rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
(rst-uncomment-region, rst-font-lock-find-unindented-line-match)
(rst-font-lock-handle-adornment-matcher): Mark unused arguments.
Dmitry Gutov [Sun, 16 Mar 2014 02:42:15 +0000 (04:42 +0200)]
Update the missed spot
* doc/emacs/programs.texi (Matching): Update the missed spot.
Fixes: debbugs:17008
Dmitry Gutov [Sat, 15 Mar 2014 23:53:22 +0000 (01:53 +0200)]
* programs.texi (Matching): Use slightly more detailed description.
Juanma Barranquero [Sat, 15 Mar 2014 18:12:54 +0000 (19:12 +0100)]
lisp/term/ns-win.el (x-command-line-resources): Rename from ns-... version.
(ns-initialize-window-system): Use it. It is set in term/common-win.el
from the -xrm command line argument, but in the Nextstep port its value
is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
Juanma Barranquero [Sat, 15 Mar 2014 17:37:58 +0000 (18:37 +0100)]
lisp/progmodes/python.el: Fix docstring typos.
(defconst, python-syntax-count-quotes)
(python-indent-region, python-indent-shift-right)
(python-indent-dedent-line-backspace, python-nav-backward-sexp)
(python-nav-backward-sexp-safe, python-nav-backward-up-list)
(python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
(python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
(inferior-python-mode, python-shell-make-comint, run-python-internal)
(python-shell-buffer-substring, python-shell-send-buffer)
(python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
(python-completion-complete-at-point, python-fill-docstring-style)
(python-eldoc-function, python-imenu-format-item-label)
(python-imenu-format-parent-item-label)
(python-imenu-format-parent-item-jump-label)
(python-imenu--build-tree, python-imenu-create-index)
(python-imenu-create-flat-index): Fix docstring typos.
(python-indent-context, python-shell-prompt-regexp, run-python):
Remove superfluous backslashes.
(python-indent-line, python-nav-beginning-of-defun)
(python-shell-get-buffer, python-shell-get-process)
(python-info-current-defun, python-info-current-line-comment-p)
(python-info-current-line-empty-p, python-util-popn): Doc fixes.
(python-indent-post-self-insert-function, python-shell-send-file)
(python-shell-completion-get-completions)
(python-shell-completion-complete-or-indent)
(python-eldoc--get-doc-at-point): Reflow docstrings.
Juanma Barranquero [Sat, 15 Mar 2014 11:16:12 +0000 (12:16 +0100)]
src/buffer.c (Fset_buffer): Document return value (bug#17015).
Dmitry Gutov [Sat, 15 Mar 2014 03:07:06 +0000 (05:07 +0200)]
Update `blink-matching-paren' in the manual
* doc/emacs/programs.texi (Matching): Update WRT to the new
`blink-matchin-paren' behavior.
* doc/lispref/display.texi (Blinking): Update WRT to the new
`blink-matchin-paren' behavior.
Glenn Morris [Fri, 14 Mar 2014 20:55:40 +0000 (16:55 -0400)]
* package.el (package-menu-mode-map): Replace use of obsolete function alias.
Tweak menu item text.
Glenn Morris [Fri, 14 Mar 2014 20:51:22 +0000 (16:51 -0400)]
* lisp/info.el (Info-finder-find-node): Ignore the `emacs' metapackage.
Fixes: debbugs:10813
Glenn Morris [Fri, 14 Mar 2014 20:41:01 +0000 (16:41 -0400)]
* lisp/finder.el (finder-list-matches): Include unversioned packages
in the result of a keyword search.
Glenn Morris [Fri, 14 Mar 2014 19:24:04 +0000 (15:24 -0400)]
* lisp/finder.el (finder--builtins-descriptions): New constant.
(finder-compile-keywords): Use finder--builtins-descriptions.
This avoids us getting silly descriptions in finder-inf.el like
(emacs . [nil nil "abbrev mode commands for Emacs"])
Dmitry Gutov [Fri, 14 Mar 2014 18:29:43 +0000 (20:29 +0200)]
* NEWS: Fix the last change.
Author:
Dmitry Gutov [Fri, 14 Mar 2014 18:01:39 +0000 (20:01 +0200)]
Support the old `blink-matching-paren' behavior
* lisp/simple.el (blink-matching-paren): Describe the new value,
`jump', enabling the old behavior.
(blink-matching-open): Use that value.
Fixes: debbugs:17008
Glenn Morris [Fri, 14 Mar 2014 18:00:08 +0000 (14:00 -0400)]
* lisp/finder.el: Tweak previous change.
Glenn Morris [Fri, 14 Mar 2014 17:54:12 +0000 (13:54 -0400)]
Stop files with same basename messing up finder's package--builtins
* lisp/Makefile.in (setwins_finder): New, excluding leim.
(finder-data): Use setwins_finder.
* lisp/finder.el (finder-no-scan-regexp): Add leim-list.
(finder-compile-keywords): Don't skip files with same basename.
Fixes: debbugs:14010
Rüdiger Sonderfeld [Fri, 14 Mar 2014 17:03:30 +0000 (18:03 +0100)]
* etc/tutorials/TUTORIAL.de: Adapt to recent changes in TUTORIAL.
Thanks to Jorgen Schäfer for help with the translation.
Martin Rudalics [Fri, 14 Mar 2014 10:38:46 +0000 (11:38 +0100)]
Document pixelwise frame resizing and fix related bug on Windows.
* w32term.c (x_set_window_size): When frame-resize-pixelwise is
nil, always resize character wise to avoid potential loss of the
mode line (Bug#16923 related).
* display.texi (Temporary Displays): Say that
with-temp-buffer-window makes its buffer current.
* frames.texi (Size and Position): Describe new option
`frame-resize-pixelwise'. Rewrite descriptions of
`set-frame-size', `set-frame-height' and `set-frame-width'.
Glenn Morris [Fri, 14 Mar 2014 00:32:41 +0000 (20:32 -0400)]
Move some help functions from help-fns.el to help.el, which is preloaded.
They are now needed by eg the function `documentation' in some circumstances.
* lisp/help-fns.el (help-split-fundoc, help-add-fundoc-usage)
(help-function-arglist, help-make-usage): Move from here...
* lisp/help.el (help-split-fundoc, help-add-fundoc-usage)
(help-function-arglist, help-make-usage): ... to here.
* lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
Fixes: debbugs:17001
Juanma Barranquero [Fri, 14 Mar 2014 00:22:33 +0000 (01:22 +0100)]
lisp/net/*.el, lisp/progmodes/*.el: Fix docstring typos.
* net/socks.el (socks, socks-override-functions)
(socks-find-services-entry): FT
* progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
(hif-find-ifdef-block):
* progmodes/modula2.el (m2-indent): Fix docstring typos.
* net/tls.el (tls-program): Reflow docstring.
* progmodes/opascal.el (opascal-compound-block-indent)
(opascal-case-label-indent): Fix docstring typos.
(opascal-mode): Fix typos; let defined-derived-mode document mode hook.
* progmodes/pascal.el (pascal-mode-abbrev-table)
(pascal-imenu-generic-expression, pascal-auto-endcomments)
(pascal-mark-defun, pascal-comment-area, pascal-indent-level)
(pascal-outline-mode): Fix docstring typos.
(pascal-mode): Let define-derived-mode document mode hook.
(pascal-uncomment-area): Reflow.
(pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
Dmitry Gutov [Thu, 13 Mar 2014 13:37:27 +0000 (15:37 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
multiple adjacent negation chars.
Fixes: debbugs:17004
Tom Willemse [Thu, 13 Mar 2014 13:34:01 +0000 (09:34 -0400)]
* lisp/emacs-lisp/package.el (package--prepare-dependencies):
Accept requirements without explicit version.
Fixes: debbugs:14941
Paul Eggert [Thu, 13 Mar 2014 05:27:28 +0000 (22:27 -0700)]
* mule.texi (International, Language Environments): Update
the list of language environments to what Emacs currently
supports. Add the full list to the index. Suggest C-h L for
details rather than trying to give very brief details here.
Glenn Morris [Thu, 13 Mar 2014 00:43:30 +0000 (20:43 -0400)]
* nextstep/templates/Info.plist.in: Make it strictly valid xml.
Fixes: debbugs:17002
Juanma Barranquero [Wed, 12 Mar 2014 21:16:34 +0000 (22:16 +0100)]
lisp/register.el (register-separator, copy-to-register): Doc fixes.
(register-preview-default): Remove unnecessary call to concat.
Glenn Morris [Wed, 12 Mar 2014 21:00:36 +0000 (17:00 -0400)]
* doc/emacs/cmdargs.texi (General Variables): Don't mention INCPATH,
from the obsolete complete.el.
Glenn Morris [Wed, 12 Mar 2014 20:57:34 +0000 (16:57 -0400)]
* doc/misc/eww.texi (History and Acknowledgments): Don't list everyone
who changed the code.
It was a nice gesture, but seems likely to just become a pain to keep
up-to-date. Also not really needed, given ChangeLogs and VCS logs.
Glenn Morris [Wed, 12 Mar 2014 20:52:34 +0000 (16:52 -0400)]
Use @file for buffers, per the Texinfo manual
* doc/misc/ada-mode.texi, doc/misc/auth.texi, doc/misc/calc.texi:
* doc/misc/ebrowse.texi, doc/misc/efaq.texi, doc/misc/emacs-gnutls.texi:
* doc/misc/epa.texi, doc/misc/ert.texi, doc/misc/eshell.texi:
* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/gnus.texi:
* doc/misc/info.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
* doc/misc/newsticker.texi, doc/misc/pcl-cvs.texi, doc/misc/rcirc.texi:
* doc/misc/sem-user.texi, doc/misc/smtpmail.texi, doc/misc/url.texi:
* doc/misc/viper.texi, doc/misc/wisent.texi, doc/misc/woman.texi:
Use @file for buffers, per the Texinfo manual.
Glenn Morris [Wed, 12 Mar 2014 20:47:03 +0000 (16:47 -0400)]
Fix ChangeLog typo
Juanma Barranquero [Wed, 12 Mar 2014 18:36:26 +0000 (19:36 +0100)]
lisp/frameset.el: Optimize check for visible frame.
(frameset-restore): When checking for a visible frame,
use the action map instead of calling visible-frame-list.
Jonas Bernoulli [Wed, 12 Mar 2014 15:02:45 +0000 (16:02 +0100)]
lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
Martin Rudalics [Wed, 12 Mar 2014 07:28:23 +0000 (08:28 +0100)]
Two adjustments in window/frame resizing.
* frame.c (x_set_frame_parameters): Always calculate new sizes
pixelwise to avoid potential loss when rounding.
* window.el (fit-frame-to-buffer): Get maximum width from
display's width instead of height.
Glenn Morris [Wed, 12 Mar 2014 07:26:07 +0000 (00:26 -0700)]
* doc/emacs/misc.texi (Saving Emacs Sessions): Make previous change
slightly less brief.
Paul Eggert [Wed, 12 Mar 2014 07:20:43 +0000 (00:20 -0700)]
* org.texi: Don't set txicodequoteundirected and txicodequotebacktick
so that the Org Manual's style for ` and ' in code is consistent
with the other Emacs manuals. This affects PDF, not .info files.
Glenn Morris [Wed, 12 Mar 2014 07:14:30 +0000 (00:14 -0700)]
Some doc edits related to desktop-restore-frames
* doc/emacs/misc.texi (Saving Emacs Sessions):
Be briefer about desktop's handling of frames.
The manual does not need to mention every option, nor should
it just repeat the doc-strings.
* lisp/desktop.el (desktop-restore-frames)
(desktop-restore-in-current-display, desktop-restore-forces-onscreen)
(desktop-restore-reuses-frames): Doc tweaks.
* etc/NEWS: Related edits.
Paul Eggert [Wed, 12 Mar 2014 07:03:40 +0000 (00:03 -0700)]
* mule.texi (International Chars): Adjust C-u C-x = description.
Change it to match Emacs's current behavior. Also, change the
example to use ê instead of À, as the isolated grave accent in the
latter's decomposition listing was confusingly transliterated to
left single quote in the PDF version of the manual.
Glenn Morris [Wed, 12 Mar 2014 06:52:54 +0000 (23:52 -0700)]
* doc/misc/octave-mode.texi (Using Octave Mode): Remove outdated stuff
about RET and indentation. E.g., octave-reindent-then-newline-and-indent
was removed three years ago.
When you delete commands, please use grep to check for references to them.
Glenn Morris [Wed, 12 Mar 2014 06:48:20 +0000 (23:48 -0700)]
* emacs/indent.texi (Indent Convenience): Mention electric-indent-local-mode.
* lisp/electric.el (electric-indent-mode): Doc fix.
* etc/NEWS: Related markup.
Juanma Barranquero [Wed, 12 Mar 2014 04:00:03 +0000 (05:00 +0100)]
lisp/vc/pcvs*.el: Fix typos.
* lisp/vc/pcvs-defs.el (cvs-auto-remove-handled)
(cvs-auto-remove-directories, cvs-default-ignore-marks)
(cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
(cvs-execute-single-dir): Fix docstring typos.
* lisp/vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
(cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
* lisp/vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
* lisp/vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
Fix docstring typos.
* lisp/vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
(cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
(cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
(cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
(cvs-dired-use-hook): Fix docstring typos.
(cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
Doc fixes.
Juanma Barranquero [Wed, 12 Mar 2014 02:21:09 +0000 (03:21 +0100)]
lisp/frameset.el (frameset--jump-to-register): Add autoload.
Stefan Monnier [Tue, 11 Mar 2014 17:10:07 +0000 (13:10 -0400)]
* lisp/simple.el (set-mark): Ensure mark-active is nil if the mark is nil.
Deactivate the mark before setting it to nil.
(activate-mark): Do nothing if region is already active.
Fixes: debbugs:16975
Martin Rudalics [Tue, 11 Mar 2014 07:20:49 +0000 (08:20 +0100)]
Add comment for 2014-03-10T10:31:13Z!rudalics@gmx.at and 2014-03-10T18:53:39Z!rudalics@gmx.at.
Dmitry Antipov [Tue, 11 Mar 2014 06:50:01 +0000 (10:50 +0400)]
* xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor.
* xterm.c (x_free_frame_resources): Free all allocated cursors.
Juanma Barranquero [Tue, 11 Mar 2014 01:44:51 +0000 (02:44 +0100)]
lisp/frameset.el: Let-bind frameset--target-display.
* frameset.el (frameset--target-display): Remove definition; declare.
(frameset-save, frameset-restore): Let-bind frameset--target-display.
Stefan Monnier [Tue, 11 Mar 2014 01:22:24 +0000 (21:22 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
(advice-add): Add a :advice--pending marker, so advice--make-1 knows
when the advice is pending.
(advice-remove): Remove this marker when not needed any more.
Juanma Barranquero [Tue, 11 Mar 2014 00:46:07 +0000 (01:46 +0100)]
lisp/frameset.el: Separate frame reusing from cleaning up.
* lisp/desktop.el (desktop-restore-forces-onscreen)
(desktop-restore-reuses-frames): Use non-keyword values.
(desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
* lisp/frameset.el: Separate options for reusing frames and cleaning up.
(frameset--reuse-list): Remove definition; declare.
(frameset--action-map): Declare.
(frameset--find-frame-if): Doc fix.
(frameset--restore-frame): Cache frame action.
(frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
how to clean up the frame list after restoring. Remove cleaning
options from REUSE-FRAMES. Change all keyword values to symbols.
(frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
Martin Rudalics [Mon, 10 Mar 2014 18:53:39 +0000 (19:53 +0100)]
Revert last change to w32_read_socket.
Glenn Morris [Mon, 10 Mar 2014 18:48:35 +0000 (14:48 -0400)]
* lisp/files.el (find-file): Doc fix: update info node name.
Glenn Morris [Mon, 10 Mar 2014 18:16:13 +0000 (14:16 -0400)]
* lisp/emacs-lisp/advice.el (ad-add-advice, defadvice): Doc fix
remove references to deleted info nodes.
Paul Eggert [Mon, 10 Mar 2014 18:12:25 +0000 (11:12 -0700)]
Fix "\" problem in tutorials by using natural-language quotes.
* tutorials/TUTORIAL, tutorials/TUTORIAL.cs, tutorials/TUTORIAL.eo:
* tutorials/TUTORIAL.es, tutorials/TUTORIAL.it, tutorials/TUTORIAL.ja:
* tutorials/TUTORIAL.ko, tutorials/TUTORIAL.nl, tutorials/TUTORIAL.pl:
* tutorials/TUTORIAL.pt_BR, tutorials/TUTORIAL.ro:
* tutorials/TUTORIAL.ru, tutorials/TUTORIAL.sk, tutorials/TUTORIAL.sv:
* tutorials/TUTORIAL.th:
Avoid using ` for natural-language quotes. Instead, work around
the problem with "\" by using non-" quotation marks appropriate
for the natural language in question, e.g., «...» for Spanish.
For English “...” could be used, but use '...' instead so that
TUTORIAL continues to be encoded in ASCII.
Juanma Barranquero [Mon, 10 Mar 2014 17:33:52 +0000 (18:33 +0100)]
doc/lispref/ChangeLog: Add bug reference.
Eli Zaretskii [Mon, 10 Mar 2014 17:31:17 +0000 (19:31 +0200)]
src/w32.c (stat_worker): Fix commentary.
Eli Zaretskii [Mon, 10 Mar 2014 17:26:45 +0000 (19:26 +0200)]
Fix an obscure bug in fstatat on Windows 9X.
src/w32.c (fstatat): Don't add an extra slash if the argument ends
with a slash: this fails the subsequent call to stat_worker on
Windows 9X. Reported by oslsachem <oslsachem@gmail.com>.
Glenn Morris [Mon, 10 Mar 2014 16:00:15 +0000 (09:00 -0700)]
In tutorials, replace "\" with `\'
Otherwise Emacs can get confused and think the rest of the buffer is
a string.
Glenn Morris [Mon, 10 Mar 2014 15:49:01 +0000 (08:49 -0700)]
Add missing NEWS entry
Bastien Guerry [Mon, 10 Mar 2014 14:05:54 +0000 (15:05 +0100)]
* tutorials/TUTORIAL.fr: Adapt to the recent changes in TUTORIAL.
Michael Albinus [Mon, 10 Mar 2014 13:36:39 +0000 (14:36 +0100)]
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Do not add `nil' to the environment, when there's no remote `locale'.
(tramp-find-inline-encoding): Check, that the remote host has
installed perl, before sending scripts.
Martin Rudalics [Mon, 10 Mar 2014 10:31:13 +0000 (11:31 +0100)]
Unconditionally set visibility to 1 when restoring frame size (Bug#16967).
* w32term.c (w32_read_socket): In SIZE_RESTORED case
unconditionally set visibility of frame to 1.
Leo Liu [Mon, 10 Mar 2014 05:33:31 +0000 (13:33 +0800)]
* emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
eldoc-last-message.
Fixes: debbugs:16920
Stefan Monnier [Mon, 10 Mar 2014 02:18:29 +0000 (22:18 -0400)]
* lisp/desktop.el (desktop-create-buffer): Don't run activate-mark-hook.
Fixes: debbugs:14430
Juanma Barranquero [Mon, 10 Mar 2014 00:09:30 +0000 (01:09 +0100)]
lib-src/emacsclient.c (main): #ifdef out previous change on Windows.
Juanma Barranquero [Sun, 9 Mar 2014 23:55:11 +0000 (00:55 +0100)]
etc/ChangeLog: Add missing bug reference.
doc/emacs/ChangeLog, doc/lispref/ChangeLog, lisp/ChangeLog*: Fix typos.
Paul Eggert [Sun, 9 Mar 2014 22:38:15 +0000 (15:38 -0700)]
Fix emacsclient terminal corruption when in background.
* emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
Cancel the continue only if tty. Send SIGTTIN to the process
group, not SIGSTOP to self, as this is what the glibc manual
recommends.
(main): If tty, and if started in the background, send SIGTTIN
to the process group.
Fixes: debbugs:16892
Juri Linkov [Sun, 9 Mar 2014 21:55:35 +0000 (23:55 +0200)]
* lisp/ansi-color.el (ansi-color-names-vector): Copy default colors
from `xterm-standard-colors' that look well on the default white
background (and also on the black background) to avoid illegible
color combinations like yello-on-white and white-on-white.
http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
Martin Rudalics [Sun, 9 Mar 2014 11:36:51 +0000 (12:36 +0100)]
Update docs for window dividers and `window-text-pixel-size'.
* xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
* elisp.texi (Top): Rename section "Width" to "Size of Displayed
Text".
* text.texi (Primitive Indent):
* strings.texi (String Basics):
* sequences.texi (Sequence Functions): Update references
accordingly.
* display.texi (Size of Displayed Text): Rename section from
"Width". Add description for `window-text-pixel-size'.
(Window Dividers): Reword description of window dividers.
* frames.texi (Layout Parameters): Improve description of window
divider parameters.
* windows.texi (Window Sizes): Add descriptions of
`window-mode-line-height' and `window-header-line-height'.
(Coordinates and Windows): Mention window dividers.
Juanma Barranquero [Sat, 8 Mar 2014 22:26:20 +0000 (23:26 +0100)]
lisp/frameset.el: Avoid computing frame-list unnecessarily.
(frameset-restore): When no frame is visible, do not generate
a list of frames, just make visible the selected one.
Luis Felipe López Acevedo [Sat, 8 Mar 2014 20:12:42 +0000 (21:12 +0100)]
etc/tutorials/TUTORIAL.es: Fix typos.
Jan Djärv [Sat, 8 Mar 2014 15:49:59 +0000 (16:49 +0100)]
* nsterm.h (MAC_OS_X_VERSION_10_9): Add.
* nsterm.m (constrainFrameRect:toScreen:): Constrain normally when frame
is only on one screen.
Fixes: debbugs:14713
Eli Zaretskii [Sat, 8 Mar 2014 13:18:43 +0000 (15:18 +0200)]
src/xdisp.c (Fmove_point_visually): Fix previous change.
Fixes: debbugs:16961
Eli Zaretskii [Sat, 8 Mar 2014 10:54:43 +0000 (12:54 +0200)]
Fix more failures of visual-order cursor movement under word-wrap (bug#16961).
src/xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and
there's a valid wrap point in the display line, the last glyph
cannot "just barely fit" on this row, because display_line doesn't
let it. Instead, proceed as if the last glyph didn't fit, so that
we eventually back up the iterator to the wrap point. This avoids
delusional behavior of move_it_to, whereby it proceeds to the next
display line, but sets current_x to zero for all the glyphs that
without word-wrap would fit on the previous display line. One
result was that visual-order cursor movement behaved erratically
under word-wrap.
(Fmove_point_visually): Add code to find the x coordinate of the
last character before wrap point, under word-wrap on a TTY.
Eli Zaretskii [Sat, 8 Mar 2014 08:28:43 +0000 (10:28 +0200)]
tutorials/TUTORIAL.he: Adapt to the recent changes in TUTORIAL.
Dmitry Gutov [Sat, 8 Mar 2014 06:56:22 +0000 (08:56 +0200)]
Fix #16897
* lisp/vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
it only contains the repository root.
Eli Zaretskii [Fri, 7 Mar 2014 20:00:33 +0000 (22:00 +0200)]
Fix bug #16961 with visual-order cursor movement and word-wrap.
src/xdisp.c (Fmove_point_visually): When under word-wrap, accept
also return value of MOVE_POS_MATCH_OR_ZV from
move_it_in_display_line_to, when moving from beginning of line to
point's position.
Paul Eggert [Fri, 7 Mar 2014 19:12:31 +0000 (11:12 -0800)]
Spelling and wording fixes.
Paul Eggert [Fri, 7 Mar 2014 18:57:11 +0000 (10:57 -0800)]
Merge from gnulib.
This incorporates:
2014-03-04 stdint: fix missing SIZE_MAX on Android
2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/stdint.in.h, lib/sys_types.in.h, m4/sys_types_h.m4:
Update from gnulib.
Fix oversight preventing lib/sys/types.h from being generated.
* admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don't avoid sys_types.
Lars Ingebrigtsen [Fri, 7 Mar 2014 17:21:35 +0000 (18:21 +0100)]
nnimap respool fix
* nnimap.el (nnimap-request-accept-article): Make respooling to nnimap
groups work again.
George McNinch [Fri, 7 Mar 2014 16:58:25 +0000 (17:58 +0100)]
* nnir.el (nnir-run-namazu): Parse namazu results that are larger than 999
(i.e. "1,342").
Martin Rudalics [Fri, 7 Mar 2014 15:11:12 +0000 (16:11 +0100)]
Update docs for select-window and buffer-list-update-hook.
* buffer.c (Vbuffer_list_update_hook): Doc-string fix.
* window.c (Fselect_window): Explain NORECORD and
`buffer-list-update-hook' in doc-string.
* buffers.texi (The Buffer List): Rename node to Buffer List.
Describe `buffer-list-update-hook'.
* elisp.texi (Top): "The Buffer List" renamed to "Buffer List".
Add node for Window Dividers.
* hooks.texi (Standard Hooks): Add reference to
`buffer-list-update-hook'.
* windows.texi (Selecting Windows): Update description of
`select-window'.
Lars Ingebrigtsen [Fri, 7 Mar 2014 15:00:34 +0000 (16:00 +0100)]
* gnus-agent.el (gnus-agent-update-files-total-fetched-for): Don't bug out
if the directory doesn't exist.
Michael Albinus [Fri, 7 Mar 2014 14:11:37 +0000 (15:11 +0100)]
* automated/tramp-tests.el (tramp-copy-size-limit): Declare.
(tramp-test10-write-region): Extend for out-of-band copy.
(tramp-test31-asynchronous-requests): New test.
Michael Albinus [Fri, 7 Mar 2014 14:07:12 +0000 (15:07 +0100)]
* net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
only when `remote-file-name-inhibit-cache' is nil.
(tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
Martin Rudalics [Fri, 7 Mar 2014 09:53:23 +0000 (10:53 +0100)]
Add/update elisp texinfo for window-min-size and split-window.
* windows.texi (Window Sizes): Describe `window-min-size'.
(Splitting Windows): Update description of `split-window'.
Juanma Barranquero [Fri, 7 Mar 2014 00:01:19 +0000 (01:01 +0100)]
lisp/ChangeLog*: Fix typos.
Martin Rudalics [Thu, 6 Mar 2014 13:41:58 +0000 (14:41 +0100)]
More window code related fixes and documentation changes.
* window.c (Fother_window_for_scrolling): Check that
Vother_window_scroll_buffer is a buffer.
* window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
Fix doc-strings.
(fit-frame-to-buffer): New argument ONLY. Remove dependency on
fit-frame-to-buffer variable. Fix doc-string.
(fit-window-to-buffer): Set ONLY argument in call of
fit-frame-to-buffer. Fix doc-string.
* frames.texi (Size and Position): Rewrite entries for
`fit-frame-to-buffer' and `fit-frame-to-buffer-margins'. Add
description for `fit-frame-to-buffer-sizes'.
* windows.texi (Resizing Windows): Add descriptions for
pixelwise resizing. Add entries for `window-resize-pixelwise'
and `fit-window-to-buffer-horizontally'. Rewrite
`fit-window-to-buffer' entry.
Michael Albinus [Thu, 6 Mar 2014 13:23:04 +0000 (14:23 +0100)]
* net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
(tramp-action-password): Clear password cache if needed.
(tramp-read-passwd): Do not clear password cache.
* net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
cache unless it is the first password request.
Xue Fuqiao [Thu, 6 Mar 2014 12:39:47 +0000 (20:39 +0800)]
Doc fix.
* doc/lispref/internals.texi (Window Internals): Remove field
`region_showing'.