bpt/emacs.git
10 years agolisp/icomplete.el (icomplete-completions): Use string-width.
Juanma Barranquero [Sun, 2 Mar 2014 00:50:07 +0000 (01:50 +0100)]
lisp/icomplete.el (icomplete-completions): Use string-width.
Suggested by Stefan Monier <monnier@iro.umontreal.ca>.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
Dmitry Gutov [Sat, 1 Mar 2014 22:04:59 +0000 (00:04 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
regexp options.

Fixes: debbugs:16914

10 years agoConsider Vother_window_scroll_buffer valid iff it's a live buffer.
Martin Rudalics [Sat, 1 Mar 2014 19:15:29 +0000 (20:15 +0100)]
Consider Vother_window_scroll_buffer valid iff it's a live buffer.

* window.c (Fother_window_for_scrolling): Don't try to scroll a
killed Vother_window_scroll_buffer.
(Vother_window_scroll_buffer): Fix doc-string accordingly.

10 years agoFix bug #16751 with crashes in expand-file-name on Windows.
Eli Zaretskii [Sat, 1 Mar 2014 11:51:02 +0000 (13:51 +0200)]
Fix bug #16751 with crashes in expand-file-name on Windows.

 src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't treat file names
 that start with more than 2 slashes as UNCs.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Mar 2014 11:19:34 +0000 (06:19 -0500)]
Auto-commit of loaddefs files.

10 years agoFix size calculation in window--max-delta-1.
Martin Rudalics [Sat, 1 Mar 2014 11:11:13 +0000 (12:11 +0100)]
Fix size calculation in window--max-delta-1.

* window.el (window--max-delta-1): Round down when calculating
how many lines/columns we can get from a window.

10 years ago* lisp/subr.el (with-wrapper-hook): Tweak obsolescence message.
Glenn Morris [Sat, 1 Mar 2014 03:54:47 +0000 (19:54 -0800)]
* lisp/subr.el (with-wrapper-hook): Tweak obsolescence message.

* lisp/simple.el: Remove mistaken FIXME comment.

* etc/NEWS: Markup.

10 years ago* doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.
Glenn Morris [Sat, 1 Mar 2014 02:54:08 +0000 (18:54 -0800)]
* doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.

* etc/NEWS: Related markup.

10 years agoSome doc related to search-invisible and query replace
Glenn Morris [Sat, 1 Mar 2014 02:48:54 +0000 (18:48 -0800)]
Some doc related to search-invisible and query replace

* doc/emacs/search.texi (Query Replace): Mention search-invisible.

* doc/emacs/text.texi (Outline Visibility): Mention search-invisible
also affects query-replace.

* lisp/isearch.el (search-invisible): Doc fix.

* etc/NEWS: Related markup.

10 years agoReplace some uses of obsolete argument of display-completion-list
Glenn Morris [Sat, 1 Mar 2014 02:31:05 +0000 (18:31 -0800)]
Replace some uses of obsolete argument of display-completion-list

* lisp/minibuffer.el (completion-hilit-commonality):
Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.

* lisp/comint.el (comint-dynamic-list-completions): Doc fix.

* lisp/comint.el (comint-dynamic-list-completions):
* lisp/filecache.el (file-cache-minibuffer-complete):
* lisp/tempo.el (tempo-display-completions):
* lisp/eshell/em-hist.el (eshell-list-history):
Replace use of obsolete argument of display-completion-list.

* lisp/tempo.el: Use utf-8 for author name.

10 years agolisp/frame.el: Remove a couple of obsolete FIXME comments.
Juanma Barranquero [Sat, 1 Mar 2014 01:32:42 +0000 (02:32 +0100)]
lisp/frame.el: Remove a couple of obsolete FIXME comments.

10 years agolisp/icomplete.el: Use "..." when U+2026 cannot be displayed.
Juanma Barranquero [Sat, 1 Mar 2014 01:25:29 +0000 (02:25 +0100)]
lisp/icomplete.el: Use "..." when U+2026 cannot be displayed.

10 years agoFix a few crashes and leaks when cloning C strings.
Paul Eggert [Fri, 28 Feb 2014 21:45:34 +0000 (13:45 -0800)]
Fix a few crashes and leaks when cloning C strings.

* alloc.c, lisp.h (dupstring): New function.
* gtkutil.c (xg_get_font):
* term.c (tty_default_color_capabilities):
* xsettings.c (store_monospaced_changed)
(store_font_name_changed, parse_settings)
(read_and_apply_settings, init_gsettings, init_gconf): Use it.
This avoids some unlikely crashes due to accessing freed storage,
and avoids some minor memory leaks in the more-typical case.

10 years agoTweak earlier shr.el change
Glenn Morris [Fri, 28 Feb 2014 20:00:12 +0000 (15:00 -0500)]
Tweak earlier shr.el change

10 years ago* etc/NEWS: Minor edits.
Glenn Morris [Fri, 28 Feb 2014 19:44:32 +0000 (14:44 -0500)]
* etc/NEWS: Minor edits.

10 years ago* etc/NEWS: Minor edits
Glenn Morris [Fri, 28 Feb 2014 19:14:25 +0000 (14:14 -0500)]
* etc/NEWS: Minor edits

10 years agolisp/finder.el (finder-unload-function): New function.
Juanma Barranquero [Fri, 28 Feb 2014 13:59:36 +0000 (14:59 +0100)]
lisp/finder.el (finder-unload-function): New function.

10 years agoFix docstring typos.
Juanma Barranquero [Fri, 28 Feb 2014 13:19:06 +0000 (14:19 +0100)]
Fix docstring typos.

lisp/dframe.el (dframe-detach):
lisp/find-dired.el (find-dired, find-name-dired):
lisp/finder.el (finder-mode-map, finder-mode-syntax-table)
(finder-headmark, finder-select, finder-mouse-select):
Fix typos.

10 years agoDon't show drag cursor when modeline can't be dragged (Bug#16647).
Martin Rudalics [Fri, 28 Feb 2014 10:32:11 +0000 (11:32 +0100)]
Don't show drag cursor when modeline can't be dragged (Bug#16647).

* xdisp.c (note_mode_line_or_margin_highlight): Don't show drag
cursor when modeline can't be dragged (Bug#16647).

10 years agoContinuation of previous change.
Xue Fuqiao [Fri, 28 Feb 2014 10:31:26 +0000 (18:31 +0800)]
Continuation of previous change.

* doc/lispref/functions.texi (Advising Named Functions): Tweak markup.

10 years ago* doc/lispref/functions.texi (Advising Functions): Tweak markup.
Xue Fuqiao [Fri, 28 Feb 2014 10:06:04 +0000 (18:06 +0800)]
* doc/lispref/functions.texi (Advising Functions): Tweak markup.

10 years agoRevert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
Martin Rudalics [Fri, 28 Feb 2014 09:10:55 +0000 (10:10 +0100)]
Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).

* window.el (with-temp-buffer-window): Revert change from
2014-02-21.  Suggested by Thierry Volpiatto
<thierry.volpiatto@gmail.com>.  Fix doc-string based on a
suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
* help.el (with-help-window): Fix doc-string.

10 years ago* net/shr.el (shr-put-image): add custom variable
Ivan Kanis [Fri, 28 Feb 2014 08:49:59 +0000 (09:49 +0100)]
* net/shr.el (shr-put-image): add custom variable
  `shr-image-animate' to turn off image animation. It is so slow it
  will render emacs unusable.

10 years ago* automated/tramp-tests.el (tramp--test-enabled)
Michael Albinus [Fri, 28 Feb 2014 08:47:43 +0000 (09:47 +0100)]
* automated/tramp-tests.el (tramp--test-enabled)
(tramp-test15-copy-directory): No special handling of tramp-adb.el
anymore.  It's fixed in that package.

10 years ago* net/tramp-adb.el (tramp-adb-parse-device-names):
Michael Albinus [Fri, 28 Feb 2014 08:41:24 +0000 (09:41 +0100)]
* net/tramp-adb.el (tramp-adb-parse-device-names):
Use `accept-process-output'.
(tramp-adb-handle-file-truename): Cache the localname only.
(tramp-adb-handle-make-directory)
(tramp-adb-handle-delete-directory): Flush file properties correctly.
(tramp-adb-handle-set-file-modes): Do not raise an error when file
modes cannot be changed.

* net/tramp-cache.el (tramp-flush-directory-property): Remove also
file properties of symlinks.

10 years ago* textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update required/optional
Per Starbäck [Fri, 28 Feb 2014 06:51:04 +0000 (22:51 -0800)]
* textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update required/optional
fields to match development biblatex.  (Trivial change that does not merit
a :version bump.)

Fixes: debbugs:16781

10 years ago* lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)
Andy Sawyer [Fri, 28 Feb 2014 06:44:49 +0000 (22:44 -0800)]
* lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)

Fixes: debbugs:16673

10 years ago* doc/misc/info.texi (Help-Xref): Add submenu.
Glenn Morris [Fri, 28 Feb 2014 06:33:23 +0000 (22:33 -0800)]
* doc/misc/info.texi (Help-Xref): Add submenu.

This placates makeinfo 5.2, which otherwise actually emits a warning;
surely a flagrant breach of the makeinfo philosophy...?

10 years agoRemove no-longer-relevant text about writing Info nodes by hand
Glenn Morris [Fri, 28 Feb 2014 06:25:47 +0000 (22:25 -0800)]
Remove no-longer-relevant text about writing Info nodes by hand

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00359.html

* doc/misc/info.texi (Further Reading): Rename node from Expert Info.
Remove stuff about writing Info nodes by hand.
(Help-Cross): Move node from (mainly deleted) chapter 3 to chapter 1.

10 years ago* doc/misc/info.texi: Nuke hand-written node pointers.
Glenn Morris [Fri, 28 Feb 2014 06:14:07 +0000 (22:14 -0800)]
* doc/misc/info.texi: Nuke hand-written node pointers.

10 years ago* etc/NEWS: Minor edit
Glenn Morris [Fri, 28 Feb 2014 05:35:53 +0000 (21:35 -0800)]
* etc/NEWS: Minor edit

10 years ago* doc/emacs/custom.texi: Typo fix.
Glenn Morris [Fri, 28 Feb 2014 05:30:28 +0000 (21:30 -0800)]
* doc/emacs/custom.texi: Typo fix.

10 years agoSome doc fixes for completion-hilit-commonality and friends
Glenn Morris [Fri, 28 Feb 2014 05:29:45 +0000 (21:29 -0800)]
Some doc fixes for completion-hilit-commonality and friends

* lisp/minibuffer.el (completions-first-difference)
(completions-common-part, completion-hilit-commonality): Doc fixes.

10 years agoDoc fix for `face-spec-set'.
Xue Fuqiao [Fri, 28 Feb 2014 04:15:21 +0000 (12:15 +0800)]
Doc fix for `face-spec-set'.

* doc/lispref/display.texi (Defining Faces): Doc fix for
  `face-spec-set'.

* etc/NEWS: Copyedit.

10 years agoDocument `prettify-symbols-mode' and `global-prettify-symbols-mode'.
Xue Fuqiao [Fri, 28 Feb 2014 03:04:12 +0000 (11:04 +0800)]
Document `prettify-symbols-mode' and `global-prettify-symbols-mode'.

* doc/emacs/emacs.texi (Top):
* doc/emacs/programs.texi (Programs, Prettifying Symbols):
Document `prettify-symbols-mode' and `global-prettify-symbols-mode'.

* etc/NEWS: Markup changes.

10 years ago* info.el: Comment.
Glenn Morris [Fri, 28 Feb 2014 02:16:02 +0000 (21:16 -0500)]
* info.el: Comment.

10 years agoAdd H binding to info, for compatibility with standalone info
Karl Berry [Fri, 28 Feb 2014 02:13:56 +0000 (21:13 -0500)]
Add H binding to info, for compatibility with standalone info
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00309.html

* lisp/info.el (Info-mode-map): Add H for describe-mode,
to synchronize with standalone Info.

* doc/misc/info.texi (Top): Mention H for a summary of all commands.

10 years ago* src/doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
Glenn Morris [Fri, 28 Feb 2014 02:00:17 +0000 (21:00 -0500)]
* src/doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
from custom-delayed-init-variables.

Fixes: debbugs:11565

10 years ago* lisp/progmodes/sql.el (sql-interactive-mode): Avoid setting global value
Emilio C. Lopes [Fri, 28 Feb 2014 01:55:12 +0000 (20:55 -0500)]
* lisp/progmodes/sql.el (sql-interactive-mode): Avoid setting global value
of comint-input-ring-separator.

Fixes: debbugs:16814

10 years agoDocument `define-alternatives'.
Xue Fuqiao [Fri, 28 Feb 2014 01:49:25 +0000 (09:49 +0800)]
Document `define-alternatives'.

* doc/lispref/elisp.texi (Top):
* doc/lispref/commands.texi (Generic Commands):
(Defining Commands): Document `define-alternatives'.

* etc/NEWS: Related edit.  Unrelated copyedit.

10 years agoSome desktop doc.
Xue Fuqiao [Fri, 28 Feb 2014 01:05:49 +0000 (09:05 +0800)]
Some desktop doc.

* doc/emacs/misc.texi (Saving Emacs Sessions): Document some new desktop user options.

10 years agoMore fixes for mouse glyph calculations (Bug#16647).
Martin Rudalics [Thu, 27 Feb 2014 19:22:10 +0000 (20:22 +0100)]
More fixes for mouse glyph calculations (Bug#16647).

More fixes for mouse glyph calculations (Bug#16647).
* window.c (coordinates_in_window): In intersection of
horizontal and vertical window dividers prefer the horizontal
one.  Add some extra parens to last fix.
(window_relative_x_coord): Return x-coordinate for header and
mode line too.
* xdisp.c (remember_mouse_glyph): In text area don't extend
glyph into mode line to show the vertical drag cursor there
immediately.  Subdivide mouse glyphs in right fringes to show a
horizontal drag cursor as soon as we enter the "grabbable width"
portion.  Handle vertical border case separately.  Do not
subdivide window divider areas.
(note_mouse_highlight): On bottom divider of bottommost windows
show vertical drag cursor only when the minibuffer window can be
resized.

10 years agoFix bug #16870 with 'box' face in display strings.
Eli Zaretskii [Thu, 27 Feb 2014 17:42:00 +0000 (19:42 +0200)]
Fix bug #16870 with 'box' face in display strings.

 src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
 reset by the face of the object just displayed.  See also bug#76.
 (get_next_display_element): If the string came from a display
 property, examine the box face attribute at it->position, not at
 it->current.pos, since the latter was not updated yet.
 (handle_face_prop): Improve commentary.

10 years ago* net/dbus.el (dbus--init-bus): Declare function.
Michael Albinus [Thu, 27 Feb 2014 15:41:13 +0000 (16:41 +0100)]
* net/dbus.el (dbus--init-bus): Declare function.
(dbus-path-local, dbus-interface-local): New defconst.
(dbus-init-bus): Use them.
(dbus-return-values-table): Extend doc.
(dbus-handle-bus-disconnect): Extend error message.

10 years ago* dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus):
Michael Albinus [Thu, 27 Feb 2014 15:36:14 +0000 (16:36 +0100)]
* dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus):
Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1.

10 years agolisp/subr.el (y-or-n-p): Fix double space issue in message.
Juanma Barranquero [Thu, 27 Feb 2014 14:21:28 +0000 (15:21 +0100)]
lisp/subr.el (y-or-n-p): Fix double space issue in message.

10 years agoDocument some changes about windows.
Xue Fuqiao [Thu, 27 Feb 2014 14:10:55 +0000 (22:10 +0800)]
Document some changes about windows.

* doc/lispref/windows.texi (Window Sizes): Document `window-size'.
(Display Action Functions): Document `display-buffer-at-bottom'.
(Window Configurations): Minor fixes.

* doc/lispref/modes.texi (Header Lines): Document `window-header-line-height'.

* doc/lispref/display.texi (Scroll Bars): Document `window-scroll-bar-width'.

* etc/NEWS: Related markup.

10 years agoDocument some (perhaps incomplete) pixelwise window operations.
Xue Fuqiao [Thu, 27 Feb 2014 12:58:23 +0000 (20:58 +0800)]
Document some (perhaps incomplete) pixelwise window operations.

* doc/lispref/windows.texi (Window Sizes, Resizing Windows):
Document some pixelwise window operations.

10 years ago* automated/tramp-tests.el (tramp--test-enabled): Move connection
Michael Albinus [Thu, 27 Feb 2014 12:07:10 +0000 (13:07 +0100)]
* automated/tramp-tests.el (tramp--test-enabled): Move connection
cleanup into this function.  Remove respective code from all test cases.
(tramp--instrument-test-case): Declare `indent' and `debug'.
Handle other errors as well.
(tramp-test14-delete-directory): Check for `file-error' error.
(tramp-test15-copy-directory): Ignore return value of
`copy-directory'.  It's too much hassle to handle it for tramp-adb.el.
(tramp-test19-directory-files-and-attributes): Take care of
timestamp of "../".
(tramp-test20-file-modes, tramp-test27-start-file-process)
(tramp-test28-shell-command): Skip for tramp-adb.el.
(tramp-test21-file-links): `file-truename' shall preserve trailing
link of directories.
(tramp-test22-file-times): Skip if `set-file-times' returns nil.
(tramp-test26-process-file, tramp-test28-shell-command): Let-bind
`kill-buffer-query-functions' to nil.
(tramp-test28-shell-command): Run `async-shell-command' with timeouts.

10 years agoSome doc about electric-indent-mode.
Xue Fuqiao [Thu, 27 Feb 2014 12:00:30 +0000 (20:00 +0800)]
Some doc about electric-indent-mode.

* doc/lispref/text.texi (Margins): Fix the description of RET and `C-j'.

* doc/emacs/programs.texi (Basic Indent):
(Other C Commands): Fix the description of RET and `C-j'.

* doc/emacs/indent.texi (Indentation Commands): Move the description of
`C-j' from here...
* doc/emacs/basic.texi (Inserting Text): ... to here.

10 years agoTramp adb fixes, found during test campaign.
Michael Albinus [Thu, 27 Feb 2014 11:59:04 +0000 (12:59 +0100)]
Tramp adb fixes, found during test campaign.
* net/tramp.el (tramp-call-process): Improve trace message.
(tramp-handle-insert-file-contents): Trace error case.

* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
<insert-directory>: Use `tramp-handle-insert-directory'.
(tramp-adb-handle-insert-directory): Remove function.
(tramp-adb-send-command-and-check): New defun, replacing
`tramp-adb-command-exit-status'.  Change all callees.
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-directory-files-and-attributes): Use it.
(tramp-adb-ls-output-name-less-p): Use
`directory-listing-before-filename-regexp'.
(tramp-adb-handle-delete-directory): Flush also file properties of
the truename of directory.
(tramp-adb-handle-file-name-all-completions): Add "./" and "../".
(tramp-adb-handle-file-local-copy): Make the local copy readable.
(tramp-adb-handle-write-region): Implement APPEND.
(tramp-adb-handle-rename-file): Make it more robust.  Flush file
properties correctly.
(tramp-adb-maybe-open-connection): Set `tramp-current-*'
variables.  Check for connected devices only when needed.

10 years agoFix previous change.
Xue Fuqiao [Thu, 27 Feb 2014 10:26:14 +0000 (18:26 +0800)]
Fix previous change.

10 years ago* doc/lispref/frames.texi (Multiple Terminals): Document
Xue Fuqiao [Thu, 27 Feb 2014 10:15:52 +0000 (18:15 +0800)]
* doc/lispref/frames.texi (Multiple Terminals): Document
`display-monitor-attributes-list' and `display-monitor-attributes'.
(Display Feature Testing): Add some notes about multi-monitor.

* etc/NEWS: Related edit.

10 years ago* etc/NEWS: Copyedit.
Glenn Morris [Thu, 27 Feb 2014 08:09:11 +0000 (00:09 -0800)]
* etc/NEWS: Copyedit.

10 years agoSmall doc related to new completion functions
Glenn Morris [Thu, 27 Feb 2014 08:01:22 +0000 (00:01 -0800)]
Small doc related to new completion functions

* doc/lispref/minibuf.texi (Programmed Completion):
Mention completion-table-with-cache.

* lisp/minibuffer.el (completion-table-dynamic)
(completion-table-with-cache): Doc fixes.

* etc/NEWS: Related markup.  Unrelated copyedit.

10 years agoSome crm.el doc
Glenn Morris [Thu, 27 Feb 2014 07:42:57 +0000 (23:42 -0800)]
Some crm.el doc

* lisp/emacs-lisp/crm.el: Remove commentary that duplicates doc strings.
(crm-default-separator, crm-separator) (completing-read-multiple):
Doc fixes.

* etc/NEWS: Related edit.

10 years agoFix tramp bug with empty explicit path
Daniel Colascione [Thu, 27 Feb 2014 05:20:20 +0000 (21:20 -0800)]
Fix tramp bug with empty explicit path

10 years agoFix tramp bug with empty explicit path
Daniel Colascione [Thu, 27 Feb 2014 05:11:50 +0000 (21:11 -0800)]
Fix tramp bug with empty explicit path

10 years ago* emacs-lisp/crm.el (completing-read-multiple): Empower help-enable-auto-load.
Glenn Morris [Thu, 27 Feb 2014 04:17:40 +0000 (20:17 -0800)]
* emacs-lisp/crm.el (completing-read-multiple): Empower help-enable-auto-load.

10 years agoFix indentation
Daniel Colascione [Wed, 26 Feb 2014 21:31:22 +0000 (13:31 -0800)]
Fix indentation

10 years agoNEWS markup
Glenn Morris [Wed, 26 Feb 2014 20:02:56 +0000 (15:02 -0500)]
NEWS markup

10 years ago* lisp/startup.el (command-line): Don't init the tty in daemon mode.
Glenn Morris [Wed, 26 Feb 2014 19:45:18 +0000 (14:45 -0500)]
* lisp/startup.el (command-line): Don't init the tty in daemon mode.

Ref: http://debbugs.gnu.org/16859#15

10 years agoAvoid calling tty-setup-hook twice
Glenn Morris [Wed, 26 Feb 2014 19:40:56 +0000 (14:40 -0500)]
Avoid calling tty-setup-hook twice
eg if a term file explicitly calls tty-run-terminal-initialization

* lisp/faces.el (tty-run-terminal-initialization): Add run-hook argument.
(tty-create-frame-with-faces): Use it.

* lisp/startup.el (command-line): Pass run-hook argument
to tty-run-terminal-initialization.

Fixes: debbugs:16859

10 years ago* lisp/dired.el (dired-restore-desktop-buffer): Demote errors;
Glenn Morris [Wed, 26 Feb 2014 19:18:49 +0000 (14:18 -0500)]
* lisp/dired.el (dired-restore-desktop-buffer): Demote errors;
eg in case a glob match fails.

Fixes: debbugs:16884

10 years agoFixes around Bug#16647.
Martin Rudalics [Wed, 26 Feb 2014 08:07:34 +0000 (09:07 +0100)]
Fixes around Bug#16647.

* xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
ON_BOTTOM_DIVIDER cases.
* window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
only if the window has no right divider.
(Fcoordinates_in_window_p): Fix doc-string.

10 years ago* lisp/emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
Dmitry Gutov [Wed, 26 Feb 2014 02:31:27 +0000 (04:31 +0200)]
* lisp/emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
error from `read-from-string'.

Fixes: debbugs:16850

10 years ago* lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
Dmitry Gutov [Wed, 26 Feb 2014 02:02:21 +0000 (04:02 +0200)]
* lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
result of `completing-read' in the interactive form.

Fixes: debbugs:16854

10 years agosrc/lread.c (Funintern): Fix doc to match advertised calling convention.
Juanma Barranquero [Tue, 25 Feb 2014 22:51:34 +0000 (23:51 +0100)]
src/lread.c (Funintern): Fix doc to match advertised calling convention.

10 years ago* lisp/image.el (image-animate, image-animate-timeout): Stop animating images
Glenn Morris [Tue, 25 Feb 2014 21:59:14 +0000 (16:59 -0500)]
* lisp/image.el (image-animate, image-animate-timeout): Stop animating images
 in dead buffers.

Fixes: debbugs:16878

10 years ago* lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.
Glenn Morris [Tue, 25 Feb 2014 21:55:45 +0000 (16:55 -0500)]
* lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.

Fixes: debbugs:16868

10 years agoMerge from gnulib.
Paul Eggert [Tue, 25 Feb 2014 19:21:05 +0000 (11:21 -0800)]
Merge from gnulib.

2014-02-25 unistd: port readlink to Mac OS X 10.3.9

Fixes: debbugs:16825

10 years agoFix emacsclient's handling of SIGCONT.
Paul Eggert [Tue, 25 Feb 2014 19:06:53 +0000 (11:06 -0800)]
Fix emacsclient's handling of SIGCONT.

* emacsclient.c (handle_sigcont): Cancel the continue only if tty.

Fixes: debbugs:16883

10 years agoSpelling fix.
Paul Eggert [Tue, 25 Feb 2014 18:40:54 +0000 (10:40 -0800)]
Spelling fix.

10 years ago* lisp/net/newst-backend.el (newsticker-url-list): Doc whitespace trivia
Glenn Morris [Tue, 25 Feb 2014 18:35:37 +0000 (13:35 -0500)]
* lisp/net/newst-backend.el (newsticker-url-list): Doc whitespace trivia

10 years agoAdd some Authors: headers based on authors.el.
Glenn Morris [Tue, 25 Feb 2014 18:32:52 +0000 (13:32 -0500)]
Add some Authors: headers based on authors.el.

10 years ago* configure.ac: Update comment.
Glenn Morris [Tue, 25 Feb 2014 18:28:59 +0000 (13:28 -0500)]
* configure.ac: Update comment.

10 years ago* org-version.el (org-odt-data-dir): Remove incorrect, duplicate definition.
Glenn Morris [Tue, 25 Feb 2014 18:10:52 +0000 (13:10 -0500)]
* org-version.el (org-odt-data-dir): Remove incorrect, duplicate definition.

Fixes: debbugs:16734

10 years agoerc-network: fix erc-determine-network when no network
Julien Danjou [Tue, 25 Feb 2014 17:37:25 +0000 (18:37 +0100)]
erc-network: fix erc-determine-network when no network

* erc-networks.el (erc-determine-network): Check that NETWORK as a
value, some servers set it to nothing.

10 years agoDoc updates related to tty-setup-hook
Glenn Morris [Tue, 25 Feb 2014 08:41:47 +0000 (00:41 -0800)]
Doc updates related to tty-setup-hook

* doc/emacs/custom.texi (Terminal Init):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/display.texi (Window Systems):
* doc/lispref/hooks.texi (Standard Hooks):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific):
Replace term-setup-hook with tty-setup-hook, and update.

* doc/misc/edt.texi (Quick start, Starting emulation):
* doc/misc/efaq.texi (Fullscreen mode on MS-Windows)
(Terminal setup code works after Emacs has begun): Update hook details.

* doc/misc/vip.texi (Loading VIP): Fix hook example.

* lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.

* lisp/startup.el (term-setup-hook): Doc fix.  Make obsolete.

* lisp/emulation/edt.el: Comment update.

* lisp/term/sun.el (sun-raw-prefix-hooks):
Use tty-setup-hook instead of term-setup-hook.
(terminal-init-sun): Construct message from bytecomp plist.

* lisp/term/wyse50.el (enable-arrow-keys): Doc fix.

* etc/refcards/vipcard.tex: Hook fix.

* etc/NEWS: Related edit.

10 years agoIn doc/, use add-hook rather than setq for hooks
Glenn Morris [Tue, 25 Feb 2014 03:11:11 +0000 (22:11 -0500)]
In doc/, use add-hook rather than setq for hooks

* doc/lispintro/emacs-lisp-intro.texi (X11 Colors):
* doc/misc/efaq-w32.texi (Bash): Don't use setq with hooks.

10 years ago* admin/notes/multi-tty: Remove some of the more obviously obsolete stuff.
Glenn Morris [Tue, 25 Feb 2014 02:46:59 +0000 (21:46 -0500)]
* admin/notes/multi-tty: Remove some of the more obviously obsolete stuff.

10 years agolisp/term/sun.el: Fix docstring typos.
Juanma Barranquero [Mon, 24 Feb 2014 17:24:14 +0000 (18:24 +0100)]
lisp/term/sun.el: Fix docstring typos.

10 years ago* net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
Michael Albinus [Mon, 24 Feb 2014 15:48:32 +0000 (16:48 +0100)]
* net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.

10 years agolisp/minibuffer.el: Fix bug#16808.
Nicolas Richard [Mon, 24 Feb 2014 15:41:46 +0000 (16:41 +0100)]
lisp/minibuffer.el: Fix bug#16808.

(completion--try-word-completion): Fix error when completing M-x commands.

10 years agoFix event race
Daniel Colascione [Mon, 24 Feb 2014 14:27:37 +0000 (06:27 -0800)]
Fix event race

10 years agoMerge from gnulib.
Paul Eggert [Mon, 24 Feb 2014 07:12:42 +0000 (23:12 -0800)]
Merge from gnulib.

2014-02-21 timer: fix uClibc detection of threading
2014-02-21 maintainer-makefiles: provide AC_PROG_SED for older autoconf
* texinfo.tex: Update from gnulib.

10 years ago* emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
Leo Liu [Mon, 24 Feb 2014 03:55:17 +0000 (11:55 +0800)]
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.

10 years agolisp/apropos.el: Avoid formatting error in compact layout mode.
Juanma Barranquero [Mon, 24 Feb 2014 02:38:54 +0000 (03:38 +0100)]
lisp/apropos.el: Avoid formatting error in compact layout mode.

10 years agolisp/apropos: Fix typos.
Juanma Barranquero [Sun, 23 Feb 2014 23:41:17 +0000 (00:41 +0100)]
lisp/apropos: Fix typos.

(apropos-property, apropos-all-words-regexp)
(apropos-true-hit, apropos-variable, apropos-print):
Fix docstring typos, and remove obsolete comment.

10 years agoetc/NEWS: Fix some mangled references to U+00AB and U+00BB.
Juanma Barranquero [Sun, 23 Feb 2014 19:46:38 +0000 (20:46 +0100)]
etc/NEWS: Fix some mangled references to U+00AB and U+00BB.

10 years agoFix typo in previous
Glenn Morris [Sun, 23 Feb 2014 19:25:59 +0000 (11:25 -0800)]
Fix typo in previous

10 years ago* doc/emacs/rmail.texi (Rmail Inbox): Mention rmail-mbox-format.
Glenn Morris [Sun, 23 Feb 2014 19:23:12 +0000 (11:23 -0800)]
* doc/emacs/rmail.texi (Rmail Inbox): Mention rmail-mbox-format.

* etc/NEWS: Related markup.

10 years ago* net/tramp-sh.el (tramp-sh-handle-file-truename): Preserve trailing "/".
Michael Albinus [Sun, 23 Feb 2014 14:51:29 +0000 (15:51 +0100)]
* net/tramp-sh.el (tramp-sh-handle-file-truename): Preserve trailing "/".

Fixes: debbugs:16851

10 years agoFix some marks in NEWS.
Martin Rudalics [Sun, 23 Feb 2014 10:32:14 +0000 (11:32 +0100)]
Fix some marks in NEWS.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Handle the
Dmitry Gutov [Sun, 23 Feb 2014 08:26:40 +0000 (10:26 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Handle the
inconsistent second element of the list returned by
`smie-indent--parent'.
(ruby-font-lock-keywords): Disqualify any identifier before `=' as
method call.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
Dmitry Gutov [Sun, 23 Feb 2014 05:53:53 +0000 (07:53 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
after `=>'.

Fixes: debbugs:16811

10 years agoSpelling fixes.
Paul Eggert [Sun, 23 Feb 2014 02:46:12 +0000 (18:46 -0800)]
Spelling fixes.

10 years agolisp/elec-pair.el: Fix typos.
Juanma Barranquero [Sun, 23 Feb 2014 00:19:11 +0000 (01:19 +0100)]
lisp/elec-pair.el: Fix typos.

(electric-pair-text-syntax-table, electric-pair-syntax-info)
(electric-pair--syntax-ppss, electric-pair--balance-info)
(electric-pair-mode): Fix docstring typos.
(electric-pair--looking-at-unterminated-string-p): Doc fix.
(electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.

10 years agoSome remember doc
Xue Fuqiao [Sat, 22 Feb 2014 23:14:49 +0000 (07:14 +0800)]
Some remember doc

* doc/misc/remember.texi (Quick Start): Add an index.
(Function Reference, Quick Start): Add cross-references.

10 years agoMisc small frame/window doc
Glenn Morris [Sat, 22 Feb 2014 21:49:10 +0000 (13:49 -0800)]
Misc small frame/window doc

* src/frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
* src/window.c (window-resize-pixelwise): Doc fixes.

* etc/NEWS: Related edits.
This including unmarking some items marked as ---, where it it not
clear to me that no doc updates are needed.