]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years ago* doc/lispref/searching.texi (Replacing Match): Remove incorrect return value
Glenn Morris [Thu, 6 Mar 2014 02:10:33 +0000 (21:10 -0500)]
* doc/lispref/searching.texi (Replacing Match): Remove incorrect return value

Fixes: debbugs:16942
10 years ago* lisp/mh-e/mh-compat.el (mh-display-completion-list): Replace use of obsolete
Glenn Morris [Thu, 6 Mar 2014 02:02:46 +0000 (21:02 -0500)]
* lisp/mh-e/mh-compat.el (mh-display-completion-list): Replace use of obsolete
argument of display-completion-list.

10 years ago* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals.
Glenn Morris [Thu, 6 Mar 2014 02:01:02 +0000 (21:01 -0500)]
* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals.

Fixes: debbugs:12357
10 years ago* etc/tutorials/TUTORIAL: Mention electric behavior of RET.
Glenn Morris [Thu, 6 Mar 2014 01:59:47 +0000 (20:59 -0500)]
* etc/tutorials/TUTORIAL: Mention electric behavior of RET.

Note that I had to change "\" to `\', because otherwise Emacs thought
that everything after that point was inside a string and so did not
indent anything.

So translators should check for anything similar in their translated
versions.

10 years agolisp/gnus/gnus-group.el (gnus-group-make-group): Clarify prompt
Lars Ingebrigtsen [Wed, 5 Mar 2014 22:54:48 +0000 (22:54 +0000)]
lisp/gnus/gnus-group.el (gnus-group-make-group): Clarify prompt

10 years agoTweak previous tweak
Glenn Morris [Wed, 5 Mar 2014 20:35:38 +0000 (15:35 -0500)]
Tweak previous tweak

10 years ago* configure.ac: Tweak the "unported" error message.
Glenn Morris [Wed, 5 Mar 2014 19:57:36 +0000 (14:57 -0500)]
* configure.ac: Tweak the "unported" error message.
"Has not been ported to" usually isn't quite correct these days.
Eg it could be an old platform that we dropped support for.

10 years agoFix ChangeLog bug# typo
Glenn Morris [Wed, 5 Mar 2014 19:04:44 +0000 (14:04 -0500)]
Fix ChangeLog bug# typo

10 years ago* lisp/progmodes/sh-script.el: Fix whitespace in previous change.
Glenn Morris [Wed, 5 Mar 2014 19:02:55 +0000 (14:02 -0500)]
* lisp/progmodes/sh-script.el: Fix whitespace in previous change.

10 years agoRecognize dash shell
Glenn Morris [Wed, 5 Mar 2014 18:58:16 +0000 (13:58 -0500)]
Recognize dash shell

* lisp/files.el (interpreter-mode-alist):
* lisp/progmodes/sh-script.el (sh-ancestor-alist): Add dash.

Fixes: debbugs:16938
10 years ago(eww-textarea-map): [tab] doesn't work on tty.
Lars Ingebrigtsen [Wed, 5 Mar 2014 18:44:58 +0000 (19:44 +0100)]
(eww-textarea-map): [tab] doesn't work on tty.

Reported by Mario Lang.

* net/shr.el (shr-map): Ditto.

10 years ago* etc/NEWS: Fix paren typo from earlier change
Glenn Morris [Wed, 5 Mar 2014 17:14:48 +0000 (09:14 -0800)]
* etc/NEWS: Fix paren typo from earlier change

10 years agolisp/frameset.el (frameset--initial-params): Filter out null entries.
Juanma Barranquero [Wed, 5 Mar 2014 16:22:47 +0000 (17:22 +0100)]
lisp/frameset.el (frameset--initial-params): Filter out null entries.

10 years agoVarious window code related fixes and documentation changes.
Martin Rudalics [Wed, 5 Mar 2014 13:50:48 +0000 (14:50 +0100)]
Various window code related fixes and documentation changes.

* dispnew.c (change_frame_size_1): Add new_lines instead of
new_height, the latter may be still zero if passed as such.
* window.c (Fwindow_pixel_height): Mention bottom divider in
doc-string.
* window.el (window-min-height, window-min-width): Rewrite
doc-strings.
(window-body-size): Add PIXELWISE argument to make it consistent
with its callees.
* display.texi (Window Dividers): New section.
* frames.texi (Layout Parameters): Add right-divider-width and
bottom-divider-width.
* windows.texi (Window Sizes): Redraw schematic and rewrite its
description.  Rewrite descriptions of `window-total-height',
`window-total-width', `window-total-size', `window-body-height',
`window-body-width' and `window-size-fixed'.  Add descriptions
for `window-pixel-height', `window-pixel-width',
`window-min-height' and `window-min-width'.  Remove description
of `window-size-fixed-p' moving part of it to that of
`window-size-fixed'.
(Resizing Windows): Mention dividers when talking about minimum
sizes.

10 years agolisp/finder.el: Revert part of 2014-02-28 change.
Juanma Barranquero [Wed, 5 Mar 2014 13:09:17 +0000 (14:09 +0100)]
lisp/finder.el: Revert part of 2014-02-28 change.

10 years ago* net/eww.el (eww-mode-map): [tab] doesn't work on tty.
Lars Ingebrigtsen [Wed, 5 Mar 2014 12:39:13 +0000 (13:39 +0100)]
* net/eww.el (eww-mode-map): [tab] doesn't work on tty.

* net/eww.el (eww-mode-map): [tab] doesn't work on tty.
(eww-setup-buffer): Clear next/prev/etc more reliably.

10 years agoTry to document some smie changes
Glenn Morris [Wed, 5 Mar 2014 07:41:48 +0000 (23:41 -0800)]
Try to document some smie changes

* doc/lispref/modes.texi (SMIE Customization): New section.

* doc/lispref/elisp.texi (Top): Update detailed menu.

* etc/NEWS: Related edits.

10 years agoRevert 2014-03-04T14:33:56Z!bzg@gnu.org.
Bastien Guerry [Wed, 5 Mar 2014 07:04:01 +0000 (08:04 +0100)]
Revert 2014-03-04T14:33:56Z!bzg@gnu.org.

Thanks to Leo for reporting this.

10 years agoFix "resource temporarily unavailable" with xgselect.
Paul Eggert [Wed, 5 Mar 2014 06:31:57 +0000 (22:31 -0800)]
Fix "resource temporarily unavailable" with xgselect.

* xgselect.c: Include <stdbool.h>.
(xg_select) [!USE_GTK]: Don't lose track of errno.

Fixes: debbugs:16925
10 years agoFix minor --enable-gcc-warnings issues.
Paul Eggert [Wed, 5 Mar 2014 06:28:20 +0000 (22:28 -0800)]
Fix minor --enable-gcc-warnings issues.

* widget.c (update_various_frame_slots, EmacsFrameResize):
Avoid unused locals.  Prefer 'if' to '#if' when either will do.

10 years agoFix configuration bug on Solaris 2.5.1.
Paul Eggert [Wed, 5 Mar 2014 02:39:05 +0000 (18:39 -0800)]
Fix configuration bug on Solaris 2.5.1.

* configure.ac: Fix a bug in shell pattern matching that caused
'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later.

Fixes: debbugs:16896
10 years agoFurther follow-up to last change in gmalloc.c.
Ken Brown [Tue, 4 Mar 2014 19:02:49 +0000 (14:02 -0500)]
Further follow-up to last change in gmalloc.c.

* src/gmalloc.c (aligned_alloc): Clarify the code by making `adj'
represent the actual adjustment needed for alignment.

10 years agoFollow-up improvements for last change in gmalloc.c.
Eli Zaretskii [Tue, 4 Mar 2014 17:35:15 +0000 (19:35 +0200)]
Follow-up improvements for last change in gmalloc.c.

 src/gmalloc.c (aligned_alloc): Don't allocate more memory than
 needed, and don't reallocate if the initial allocation already
 fits the bill.  Suggested by Ken Brown <kbrown@cornell.edu>.

Fixes: debbugs:16901
10 years ago* minibuffer.el (completion-hilit-commonality): Revert 2014-03-01 short-cut,
Glenn Morris [Tue, 4 Mar 2014 17:01:37 +0000 (09:01 -0800)]
* minibuffer.el (completion-hilit-commonality): Revert 2014-03-01 short-cut,
which changed the return value.

Fixes: debbugs:16933
10 years agolisp/hilit-chg.el (hilit-chg-unload-function): New function.
Juanma Barranquero [Tue, 4 Mar 2014 15:07:59 +0000 (16:07 +0100)]
lisp/hilit-chg.el (hilit-chg-unload-function): New function.

(highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
(hilit-chg-map-changes): Prefer cardinal number to digit.
(hilit-chg-display-changes): Reflow docstring.
(highlight-changes-rotate-faces): Remove superfluous backslash.

10 years ago* net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
Michael Albinus [Tue, 4 Mar 2014 14:40:38 +0000 (15:40 +0100)]
* net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
`tramp-send-command-and-check'.

10 years agominibuffer.el (minibuffer-completion-help): Use 0 as thefallback value for `base...
Bastien Guerry [Tue, 4 Mar 2014 14:33:56 +0000 (15:33 +0100)]
minibuffer.el (minibuffer-completion-help): Use 0 as thefallback value for `base-size'

* minibuffer.el (minibuffer-completion-help): Use 0 as the
fallback value for `base-size'.  (Bug#16933)

10 years agolisp/hexl.el: Fix typos in docstrings.
Juanma Barranquero [Tue, 4 Mar 2014 14:13:41 +0000 (15:13 +0100)]
lisp/hexl.el: Fix typos in docstrings.

(hexl-address-region, hexl-ascii-region)
(hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
(hexl-backward-short, hexl-forward-short, hexl-backward-word)
(hexl-forward-word, hexl-previous-line, hexl-next-line):
Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
(hexl-mode): Doc fix.
(hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
(hexl-mode-ruler): Fix typos in docstrings.

10 years agolisp/strokes.el: Fix typos.
Juanma Barranquero [Tue, 4 Mar 2014 13:01:48 +0000 (14:01 +0100)]
lisp/strokes.el: Fix typos.

(strokes-xpm-header, strokes-rate-stroke): Fix typos.
(strokes-character, strokes-get-grid-position, strokes-list-strokes):
Remove superfluous backslashes.
(strokes-last-stroke, strokes-global-map, strokes-mode):
Reflow docstrings.
(strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
(strokes-xpm-for-compressed-string): Use quotes with buffer name.
(strokes-distance-squared, strokes-global-set-stroke)
(strokes-global-set-stroke-string): Doc fixes.
(strokes-help): Fix typos; reflow docstring.

10 years ago* xterm.c (x_draw_stretch_glyph_string): Reset clipping. (Bug#16932)
YAMAMOTO Mitsuharu [Tue, 4 Mar 2014 11:02:36 +0000 (20:02 +0900)]
* xterm.c (x_draw_stretch_glyph_string): Reset clipping.  (Bug#16932)

10 years agoFix some window code related doc-string and info entries.
Martin Rudalics [Tue, 4 Mar 2014 10:44:46 +0000 (11:44 +0100)]
Fix some window code related doc-string and info entries.

* window.el (window-in-direction): Fix doc-string.
* windows.texi (Windows and Frames): Add some missing &optional
designators.  Adjust description of window-in-direction.

10 years ago* lisp/cedet/semantic/util.el (semantic-complete-symbol):
Glenn Morris [Tue, 4 Mar 2014 08:37:48 +0000 (00:37 -0800)]
* lisp/cedet/semantic/util.el (semantic-complete-symbol):
Replace use of obsolete argument of display-completion-list.

10 years agoSmall smie.el doc and fix
Glenn Morris [Tue, 4 Mar 2014 08:35:11 +0000 (00:35 -0800)]
Small smie.el doc and fix

* lisp/emacs-lisp/smie.el (smie-config-guess): Doc fix.
Explicit error if no grammar.
(smie-config-save): Doc fix.  Fix quote typo.

* etc/NEWS: Related edit.

10 years ago* lisp/electric.el (electric-indent-mode-has-been-called): Remove.
Stefan Monnier [Tue, 4 Mar 2014 04:03:34 +0000 (23:03 -0500)]
* lisp/electric.el (electric-indent-mode-has-been-called): Remove.
(electric-indent-mode): Fix accordingly.
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
electric-indent-mode-hook if we obey electric-indent-mode.
(c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
decide whether we obey electric-indent-mode.
(c-change-set-fl-decl-start, c-extend-after-change-region):
Silence warnings.
(c-electric-indent-mode-hook): Assume we do want to obey
electric-indent-mode.

10 years ago* lisp/files.el (hack-local-variables): Mention file name in warning.
Stefan Monnier [Tue, 4 Mar 2014 03:26:17 +0000 (22:26 -0500)]
* lisp/files.el (hack-local-variables): Mention file name in warning.

10 years ago* lisp/htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
Stefan Monnier [Tue, 4 Mar 2014 03:18:55 +0000 (22:18 -0500)]
* lisp/htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.

10 years ago* binding.el: Add comment describing why C-d binds to `delete-char'.
Michal Nazarewicz [Tue, 4 Mar 2014 03:14:11 +0000 (22:14 -0500)]
* binding.el: Add comment describing why C-d binds to `delete-char'.
* lisp/simple.el (delete-forward-char): Mark as interactive-only.
* src/cmds.c (delete-char): Update docstring pointing out that the
function ignores `delete-active-region' and `overwrite-mode'.

10 years agoFix bug #16930 with broken build --without-x.
Eli Zaretskii [Mon, 3 Mar 2014 19:58:20 +0000 (21:58 +0200)]
Fix bug #16930 with broken build --without-x.

 src/font.c (Fframe_font_cache): Fix last change.

10 years agodoc/misc/*.texi: Fix typos and whitespace.
Juanma Barranquero [Mon, 3 Mar 2014 17:15:42 +0000 (18:15 +0100)]
doc/misc/*.texi: Fix typos and whitespace.

* doc/misc/ede.texi (Android projects):
* doc/misc/eieio.texi (Class Options, Making New Objects)
  (Method Invocation, CLOS compatibility):
* doc/misc/sem-user.texi (Tag Decoration Mode): Fix typos.

* doc/misc/gnus.texi:
* doc/misc/semantic.texi: Fix whitespace.

10 years agoChangeLog entries should be usable without the VCS
Glenn Morris [Mon, 3 Mar 2014 17:03:32 +0000 (09:03 -0800)]
ChangeLog entries should be usable without the VCS

10 years agoFix crashes in lisp_align_free in a build with GC_MCHECK.
Eli Zaretskii [Mon, 3 Mar 2014 16:46:36 +0000 (18:46 +0200)]
Fix crashes in lisp_align_free in a build with GC_MCHECK.

 src/gmalloc.c (aligned_alloc): Fix adjustment of size of the
 allocated buffer due to alignment.
 (freehook): If the block to be freed was allocated by
 'aligned_alloc', find its real pointer before calling 'free'.
 (mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a
 backtrace.

Fixes: debbugs:16901
10 years agoAvoid crashes when X fonts are erroneously freed on reused X
Dmitry Antipov [Mon, 3 Mar 2014 08:27:58 +0000 (12:27 +0400)]
Avoid crashes when X fonts are erroneously freed on reused X
'Display *' connection data (Bug#16069).  Note that X font
resources still may be leaked, but currently there is no way
to completely avoid it.
* xterm.h (struct x_display_info): New member x_id.  Add comments.
* xterm.c (x_display_id): New variable.
(x_term_init): Assign identifier to each opened X connection.
* xfont.c (struct xfont): New member x_display_id.
(xfont_open): Initialize it with frame's display id.
(xfont_close): Check whether font's display id matches the one
recorded for the given display.  Adjust comment.
* xftfont.c (struct xftfont_info):
(xftfont_open, xftfont_close): Exactly as above with xfont stuff.

10 years ago* font.c (toplevel): Adjust comment about font cache layout.
Dmitry Antipov [Mon, 3 Mar 2014 07:46:08 +0000 (11:46 +0400)]
* font.c (toplevel): Adjust comment about font cache layout.
(font_clear_cache): Fix to match real font cache layout.
Suggested by <namespace_collision@yahoo.com> in Bug#16069.
(Fframe_font_cache) [FONT_DEBUG]: New function.
(syms_of_font) [FONT_DEBUG]: Defsubr it.

10 years agoSpelling fixes.
Paul Eggert [Mon, 3 Mar 2014 05:12:12 +0000 (21:12 -0800)]
Spelling fixes.

10 years ago*/ChangeLog: Trivial fixes.
Juanma Barranquero [Mon, 3 Mar 2014 04:57:26 +0000 (05:57 +0100)]
*/ChangeLog: Trivial fixes.

10 years agolisp/icomplete.el (icomplete-completions): Follow-up to 2014-03-01T01:25:29Z!lekktu...
Juanma Barranquero [Mon, 3 Mar 2014 03:40:48 +0000 (04:40 +0100)]
lisp/icomplete.el (icomplete-completions): Follow-up to 2014-03-01T01:25:29Z!lekktu@gmail.com.

10 years agolisp/icomplete.el, lisp/ido.el: Doc fixes.
Juanma Barranquero [Mon, 3 Mar 2014 02:27:08 +0000 (03:27 +0100)]
lisp/icomplete.el, lisp/ido.el: Doc fixes.

lisp/icomplete.el: Miscellaneous doc fixes.
Use Icomplete everywhere instead of icomplete for consistency.
(icomplete-max-delay-chars): Fix typo.
(icomplete-mode): Use \[].
(icomplete-tidy, icomplete-exhibit): Reflow.
(icomplete-minibuffer-setup-hook, icomplete-completions):
Remove superfluous backlashes.

lisp/ido.el: Miscellaneous doc fixes.
Use Ido everywhere instead of ido or `ido' for consistency.
(ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
(ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
(ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
(ido-separator): Extract obsolescence info from docstring and declare
with make-obsolete-variable.
(ido-minibuffer-setup-hook): Simplify example.
(ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
(ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
(ido-completion-help, ido-completing-read): Fix typos in docstrings.
(ido-everywhere): Reflow docstring.
(ido-toggle-vc): Doc fix.
(ido-switch-buffer, ido-find-file): Use tabs to improve legibility
of long list of keybindings.

10 years ago* etc/NEWS: Tweak previous change.
Glenn Morris [Mon, 3 Mar 2014 01:41:28 +0000 (17:41 -0800)]
* etc/NEWS: Tweak previous change.

10 years ago* etc/NEWS: Minor edit
Glenn Morris [Mon, 3 Mar 2014 01:16:58 +0000 (17:16 -0800)]
* etc/NEWS: Minor edit

10 years agoMinor doc tweaks for display-*-width, height
Glenn Morris [Mon, 3 Mar 2014 01:00:27 +0000 (17:00 -0800)]
Minor doc tweaks for display-*-width, height

* lisp/frame.el (display-pixel-height, display-pixel-width)
(display-mm-dimensions-alist, display-mm-height)
(display-mm-width): Doc tweaks.

* doc/lispref/frames.texi: Remove FIXME comments.  The x- versions of
these functions are internal details that do not need documenting.

* etc/NEWS: Related markup.

10 years ago* markers.texi (Moving Marker Positions): Clarify guidance about
Barry O'Reilly [Sun, 2 Mar 2014 17:49:02 +0000 (12:49 -0500)]
* markers.texi (Moving Marker Positions): Clarify guidance about
when to move markers and when to create a new one, as discussed at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16818#17

10 years ago* simple.el (undo-elt-in-region): Fix buffer corruption for edge
Barry O'Reilly [Sun, 2 Mar 2014 17:37:32 +0000 (12:37 -0500)]
* simple.el (undo-elt-in-region): Fix buffer corruption for edge
case of undo in region.
* automated/undo-tests.el (undo-test-in-region-not-most-recent):
Add new test of undo in region.
(undo-test-in-region-eob): Add test case described at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16411#41

10 years agoIn fit-window-to-buffer fix argument in window-size call.
Martin Rudalics [Sun, 2 Mar 2014 12:04:29 +0000 (13:04 +0100)]
In fit-window-to-buffer fix argument in window-size call.

* window.el (fit-window-to-buffer): Fix argument in window-size
call when window is horizontally combined.

10 years ago* doc/misc/sem-user.texi (Create System Databases): Markup fix.
Xue Fuqiao [Sun, 2 Mar 2014 09:32:46 +0000 (17:32 +0800)]
* doc/misc/sem-user.texi (Create System Databases): Markup fix.

10 years agoDocument `rectangle-mark-mode'.
Xue Fuqiao [Sun, 2 Mar 2014 08:54:32 +0000 (16:54 +0800)]
Document `rectangle-mark-mode'.

* doc/emacs/mark.texi (Mark):
* doc/emacs/killing.texi (Rectangles): Document `rectangle-mark-mode'.

* etc/NEWS: Related edit.

10 years agoDocument zlib-decompress-region
Glenn Morris [Sun, 2 Mar 2014 03:34:36 +0000 (19:34 -0800)]
Document zlib-decompress-region

* doc/lispref/text.texi (Decompression): New node.

* doc/lispref/elisp.texi (Top): Update detailed menu.

* etc/NEWS: Related markup.

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.