bpt/emacs.git
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.

10 years ago* lisp/imenu.el (imenu--generic-function): Doc fix.
Glenn Morris [Sat, 22 Feb 2014 21:20:49 +0000 (13:20 -0800)]
* lisp/imenu.el (imenu--generic-function): Doc fix.

* etc/NEWS: Related markup.

10 years ago* lisp/register.el (frame-configuration-to-register): Make obsolete.
Glenn Morris [Sat, 22 Feb 2014 21:13:30 +0000 (13:13 -0800)]
* lisp/register.el (frame-configuration-to-register): Make obsolete.

* etc/NEWS: Related markup.

10 years agoBit more doc for process filter and sentinel changes
Glenn Morris [Sat, 22 Feb 2014 21:08:22 +0000 (13:08 -0800)]
Bit more doc for process filter and sentinel changes

* src/process.c (Finternal_default_process_filter)
(Finternal_default_process_sentinel): Doc tweaks.

* doc/lispref/processes.texi: Typo fixes.

* etc/NEWS: Related markup.

10 years agoDocument some frame and window changes in NEWS.
Martin Rudalics [Sat, 22 Feb 2014 17:57:57 +0000 (18:57 +0100)]
Document some frame and window changes in NEWS.

10 years agodoc/lispref/functions.texi (Declare Form): Fix typo in previous change.
Juanma Barranquero [Sat, 22 Feb 2014 03:46:18 +0000 (04:46 +0100)]
doc/lispref/functions.texi (Declare Form): Fix typo in previous change.

10 years ago* doc/lispref/functions.texi (Declare Form): Document gv-expander,
Stefan Monnier [Sat, 22 Feb 2014 03:39:10 +0000 (22:39 -0500)]
* doc/lispref/functions.texi (Declare Form): Document gv-expander,
gv-setter, and compiler-macro.

Fixes: debbugs:16829

10 years agolisp/desktop.el: Do not fail when desktop-files-not-to-save is nil.
Juanma Barranquero [Sat, 22 Feb 2014 02:10:49 +0000 (03:10 +0100)]
lisp/desktop.el: Do not fail when desktop-files-not-to-save is nil.

10 years agoBuild correct secrets pattern from auth-source pattern
Daniel Colascione [Sat, 22 Feb 2014 01:44:59 +0000 (17:44 -0800)]
Build correct secrets pattern from auth-source pattern

10 years agoAdditional type checking in secrets API
Daniel Colascione [Sat, 22 Feb 2014 00:47:42 +0000 (16:47 -0800)]
Additional type checking in secrets API

10 years agoNEWS copyedits
Glenn Morris [Fri, 21 Feb 2014 20:24:02 +0000 (15:24 -0500)]
NEWS copyedits

10 years agoTweak earlier doc/lispref/processes.texi change
Glenn Morris [Fri, 21 Feb 2014 20:10:56 +0000 (15:10 -0500)]
Tweak earlier doc/lispref/processes.texi change

10 years agolisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist.
Juanma Barranquero [Fri, 21 Feb 2014 19:01:19 +0000 (20:01 +0100)]
lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist.

10 years ago* lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.
Stefan Monnier [Fri, 21 Feb 2014 17:45:26 +0000 (12:45 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.

Fixes: debbugs:16829

10 years agoAnother update of MS-Windows entries in etc/PROBLEMS.
Eli Zaretskii [Fri, 21 Feb 2014 16:47:04 +0000 (18:47 +0200)]
Another update of MS-Windows entries in etc/PROBLEMS.

10 years agolisp/whitespace.el: End obsolescence messages with dot.
Juanma Barranquero [Fri, 21 Feb 2014 16:18:56 +0000 (17:18 +0100)]
lisp/whitespace.el: End obsolescence messages with dot.

(whitespace-space, whitespace-hspace, whitespace-tab)
(whitespace-newline, whitespace-trailing, whitespace-line)
(whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
(whitespace-space-after-tab): Fix typo in docstrings.

10 years ago* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
Dmitry Gutov [Fri, 21 Feb 2014 15:39:17 +0000 (17:39 +0200)]
* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".

10 years ago* lisp/electric.el (electric-indent-functions-without-reindent):
Dmitry Gutov [Fri, 21 Feb 2014 14:29:28 +0000 (16:29 +0200)]
* lisp/electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.

10 years agolisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
Juanma Barranquero [Fri, 21 Feb 2014 14:26:17 +0000 (15:26 +0100)]
lisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
It has done nothing for years; should be removed after the release.

10 years agodoc/lispref/windows.texi (Window Configurations): Doc fix.
Juanma Barranquero [Fri, 21 Feb 2014 13:33:57 +0000 (14:33 +0100)]
doc/lispref/windows.texi (Window Configurations): Doc fix.
(Windows and Frames): Fix typo.

10 years agolisp/simple.el (choose-completion): Fix docstring typo.
Juanma Barranquero [Fri, 21 Feb 2014 13:22:14 +0000 (14:22 +0100)]
lisp/simple.el (choose-completion): Fix docstring typo.
(read-quoted-char-radix): Remove unneeded * in docstring.
(process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
Don't escape parentheses unnecessarily in docstrings.

10 years agoIn with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816).
Martin Rudalics [Fri, 21 Feb 2014 11:04:27 +0000 (12:04 +0100)]
In with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816).

* window.el (with-temp-buffer-window): Don't evaluate BODY within
with-current-buffer (Bug#16816).

10 years ago* automated/tramp-tests.el
Michael Albinus [Fri, 21 Feb 2014 10:43:49 +0000 (11:43 +0100)]
* automated/tramp-tests.el
(tramp-test19-directory-files-and-attributes): Do not include
directories in comparison; they might have changed their
timestamps already.

10 years agoUpdate MS-Windows entries in etc/PROBLEMS.
Eli Zaretskii [Fri, 21 Feb 2014 09:02:19 +0000 (11:02 +0200)]
Update MS-Windows entries in etc/PROBLEMS.

10 years ago* etc/MACHINES: Add note re Irix 6.5.
Glenn Morris [Fri, 21 Feb 2014 08:08:08 +0000 (00:08 -0800)]
* etc/MACHINES: Add note re Irix 6.5.

10 years agoSome doc updates for default process sentinels and filters not being nil
Glenn Morris [Fri, 21 Feb 2014 08:04:15 +0000 (00:04 -0800)]
Some doc updates for default process sentinels and filters not being nil

* doc/lispref/internals.texi (Process Internals):
* doc/lispref/processes.texi (Deleting Processes, Output from Processes)
(Process Buffers, Filter Functions, Accepting Output, Sentinels)
(Network, Network Servers, Network Processes, Serial Ports):
Filters and sentinels can no longer be nil.

* doc/lispref/elisp.texi (Top): Menu update.

* doc/misc/flymake.texi (Starting the syntax check process): Grammar fix.

* doc/misc/tramp.texi (External packages): Grammar fix.
Reword for default sentinel not being nil any more.

* src/process.c (Fprocess_buffer, Faccept_process_output)
(Finternal_default_process_filter, Finternal_default_process_sentinel):
Doc fixes.

10 years agoFix handling of window-min-height/-width (Bug#16738).
Martin Rudalics [Fri, 21 Feb 2014 08:02:05 +0000 (09:02 +0100)]
Fix handling of window-min-height/-width (Bug#16738).

* window.el (window--dump-window, window--dump-frame): New
functions.
(window--min-size-1): Account for window dividers.  When
window-resize-pixelwise is nil, delay rounding till after the
sum of the window components has been calculated.
(window--min-delta-1, window--max-delta-1): When PIXELWISE is
nil make sure at least one text line and two text columns remain
fully visible.
(window-resize): Signal an error when window-resize-apply fails.
(window--resize-child-windows): Fix calculation of by how many
pixels a window can still be shrunk via window-new-normal.
(adjust-window-trailing-edge): Call window--resizable with
correct TRAIL argument.

10 years agoChangeLog fix
Glenn Morris [Fri, 21 Feb 2014 07:56:52 +0000 (23:56 -0800)]
ChangeLog fix

It's "<foo>" to indicate a change related to foo.
[foo] is for a change conditional on foo being defined.

See info node `(standards)Indicating the Part Changed'.

10 years agoAdd ChangeLog entry for previous commit.
Michael Albinus [Fri, 21 Feb 2014 07:53:19 +0000 (08:53 +0100)]
Add ChangeLog entry for previous commit.

10 years ago* net/tramp.el (tramp-check-cached-permissions):
Michael Albinus [Fri, 21 Feb 2014 07:52:04 +0000 (08:52 +0100)]
* net/tramp.el (tramp-check-cached-permissions):
Call `file-attributes' with `suffix' being a symbol but a string.

10 years agoPacify GCC when configuring with --enable-gcc-warnings.
Paul Eggert [Fri, 21 Feb 2014 07:42:42 +0000 (23:42 -0800)]
Pacify GCC when configuring with --enable-gcc-warnings.

* xdisp.c (move_it_in_display_line_to) [lint]:
Initialize recently-added local.

10 years agoImprove dbus error handling; detect bus failure
Daniel Colascione [Fri, 21 Feb 2014 04:32:31 +0000 (20:32 -0800)]
Improve dbus error handling; detect bus failure

10 years agolisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars.
Juanma Barranquero [Fri, 21 Feb 2014 03:26:21 +0000 (04:26 +0100)]
lisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars.

(w32-enable-italics, w32-charset-to-codepage-alist):
These variables do not exist anymore.

10 years agolisp/savehist.el: Fix typos in docstrings.
Juanma Barranquero [Fri, 21 Feb 2014 00:47:17 +0000 (01:47 +0100)]
lisp/savehist.el: Fix typos in docstrings.

(savehist-save-minibuffer-history, savehist-additional-variables)
(savehist-file, savehist-mode-hook, savehist-save-hook, savehist-coding-system)
(savehist-loaded, savehist-load, savehist-install, savehist-autosave):
Fix typos; mostly, refer to "Savehist mode" when talking about the mode,
and not the function.

10 years agolisp/saveplace.el (save-place): Remove redundant info in docstring.
Juanma Barranquero [Fri, 21 Feb 2014 00:35:08 +0000 (01:35 +0100)]
lisp/saveplace.el (save-place): Remove redundant info in docstring.
(save-place-forget-unreadable-files, toggle-save-place)
(save-place-forget-unreadable-files, save-place-dired-hook):
Fix typos and remove unneeded backslashes.

10 years ago* tramp-tests.el (tramp-test19-directory-files-and-attributes):
Michael Albinus [Thu, 20 Feb 2014 18:26:40 +0000 (19:26 +0100)]
* tramp-tests.el (tramp-test19-directory-files-and-attributes):
Instrument failed test case.

10 years agoFix excessive calls to bidi_shelve_cache reported in bug #15555.
Eli Zaretskii [Thu, 20 Feb 2014 17:40:56 +0000 (19:40 +0200)]
Fix excessive calls to bidi_shelve_cache reported in bug #15555.

 src/xdisp.c (move_it_in_display_line_to): Save the iterator state in ppos_it
 only once per call.  Reimplement the method used to return to the
 best candidate position if all the positions found in display line
 are beyond TO_CHARPOS.  This cuts down the number of calls to
 bidi_shelve_cache, which moves a lot of stuff when lines are long
 and include bidirectional text.

10 years agoFix assertion violation in redisplay.
Eli Zaretskii [Thu, 20 Feb 2014 17:17:54 +0000 (19:17 +0200)]
Fix assertion violation in redisplay.

 src/xdisp.c (try_cursor_movement): Don't use cursor position if
 set_cursor_from_row failed to compute it.  This avoids assertion
 violations in MATRIX_ROW.

10 years agoFix bug #16819 with dereferencing invalid face pointer.
Eli Zaretskii [Thu, 20 Feb 2014 17:13:55 +0000 (19:13 +0200)]
Fix bug #16819 with dereferencing invalid face pointer.

 src/xdisp.c (init_iterator): Don't dereference a bogus face
 pointer.

10 years ago* net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
Michael Albinus [Thu, 20 Feb 2014 14:24:13 +0000 (15:24 +0100)]
* net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
(tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.

* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
[insert-directory]: Use `tramp-handle-insert-directory.
(tramp-gvfs-handle-insert-directory): Remove function.

* net/tramp-sh.el (tramp-sh-handle-insert-directory):
Call `tramp-handle-insert-directory'.

10 years ago* automated/tramp-tests.el (tramp--instrument-test-case): New macro.
Michael Albinus [Thu, 20 Feb 2014 14:08:00 +0000 (15:08 +0100)]
* automated/tramp-tests.el (tramp--instrument-test-case): New macro.
(tramp-test17-insert-directory): First line could contain more
text, when produced by `ls-lisp'.
(tramp-test19-directory-files-and-attributes): Instrument failed
test case.

10 years agolisp/elec-pair.el: Fix bug#16799.
Juanma Barranquero [Thu, 20 Feb 2014 10:33:32 +0000 (11:33 +0100)]
lisp/elec-pair.el: Fix bug#16799.

(electric-pair-syntax-info): Do not check syntax
before the start of buffer/region.

10 years agoRework previous doc/emacs change
Glenn Morris [Thu, 20 Feb 2014 08:25:12 +0000 (00:25 -0800)]
Rework previous doc/emacs change

* doc/emacs/search.texi (Special Isearch): Mention invisible text.
* doc/emacs/text.texi (Outline Visibility): Mention `M-s i' in isearch.