1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
Commit graph

116079 commits

Author SHA1 Message Date
Juanma Barranquero
9a15505898 lisp/icomplete.el: Use "..." when U+2026 cannot be displayed. 2014-03-01 02:25:29 +01:00
Paul Eggert
8268febfe0 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.
2014-02-28 13:45:34 -08:00
Glenn Morris
b70257b07e Tweak earlier shr.el change 2014-02-28 15:00:12 -05:00
Glenn Morris
6f87614914 * etc/NEWS: Minor edits. 2014-02-28 14:44:32 -05:00
Glenn Morris
81a157531f * etc/NEWS: Minor edits 2014-02-28 14:14:25 -05:00
Juanma Barranquero
53f6cda8e6 lisp/finder.el (finder-unload-function): New function. 2014-02-28 14:59:36 +01:00
Juanma Barranquero
43977c23bf 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.
2014-02-28 14:19:06 +01:00
Martin Rudalics
5c80919598 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).
2014-02-28 11:32:11 +01:00
Xue Fuqiao
d63ae2e490 Continuation of previous change.
* doc/lispref/functions.texi (Advising Named Functions): Tweak markup.
2014-02-28 18:31:26 +08:00
Xue Fuqiao
65fa101621 * doc/lispref/functions.texi (Advising Functions): Tweak markup. 2014-02-28 18:06:04 +08:00
Martin Rudalics
9dda75adcd 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.
2014-02-28 10:10:55 +01:00
Ivan Kanis
8a73034ea9 * 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.
2014-02-28 09:49:59 +01:00
Michael Albinus
5b5774e5d5 * 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.
2014-02-28 09:47:43 +01:00
Michael Albinus
245aa73efe * 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.
2014-02-28 09:41:24 +01:00
Per Starbäck
48e15d641d * 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
2014-02-27 22:51:04 -08:00
Andy Sawyer
65b7734774 * lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)
Fixes: debbugs:16673
2014-02-27 22:44:49 -08:00
Glenn Morris
c89f0e99ea * 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...?
2014-02-27 22:33:23 -08:00
Glenn Morris
4486e5eb9e 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.
2014-02-27 22:25:47 -08:00
Glenn Morris
4a6311cd71 * doc/misc/info.texi: Nuke hand-written node pointers. 2014-02-27 22:14:07 -08:00
Glenn Morris
8484c89b91 * etc/NEWS: Minor edit 2014-02-27 21:35:53 -08:00
Glenn Morris
4953b112b8 * doc/emacs/custom.texi: Typo fix. 2014-02-27 21:30:28 -08:00
Glenn Morris
5e618aba8b Some doc fixes for completion-hilit-commonality and friends
* lisp/minibuffer.el (completions-first-difference)
(completions-common-part, completion-hilit-commonality): Doc fixes.
2014-02-27 21:29:45 -08:00
Xue Fuqiao
ecc384ac0a Doc fix for `face-spec-set'.
* doc/lispref/display.texi (Defining Faces): Doc fix for
  `face-spec-set'.

* etc/NEWS: Copyedit.
2014-02-28 12:15:21 +08:00
Xue Fuqiao
4f07dcdce6 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.
2014-02-28 11:04:12 +08:00
Glenn Morris
0a4d25e5d2 * info.el: Comment. 2014-02-27 21:16:02 -05:00
Karl Berry
6deb314e66 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.
2014-02-27 21:13:56 -05:00
Glenn Morris
2241d76e83 * src/doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
from custom-delayed-init-variables.

Fixes: debbugs:11565
2014-02-27 21:00:17 -05:00
Emilio C. Lopes
289996f5e1 * lisp/progmodes/sql.el (sql-interactive-mode): Avoid setting global value
of comint-input-ring-separator.

Fixes: debbugs:16814
2014-02-27 20:55:12 -05:00
Xue Fuqiao
0fcfa97418 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.
2014-02-28 09:49:25 +08:00
Xue Fuqiao
3e557f5988 Some desktop doc.
* doc/emacs/misc.texi (Saving Emacs Sessions): Document some new desktop user options.
2014-02-28 09:05:49 +08:00
Martin Rudalics
653b6ea317 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.
2014-02-27 20:22:10 +01:00
Eli Zaretskii
11de63ede0 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.
2014-02-27 19:42:00 +02:00
Michael Albinus
79fc11918a * 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.
2014-02-27 16:41:13 +01:00
Michael Albinus
d8c25f59d6 * 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.
2014-02-27 16:36:14 +01:00
Juanma Barranquero
298520dfb7 lisp/subr.el (y-or-n-p): Fix double space issue in message. 2014-02-27 15:21:28 +01:00
Xue Fuqiao
eed1c39901 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.
2014-02-27 22:10:55 +08:00
Xue Fuqiao
de37b1f449 Document some (perhaps incomplete) pixelwise window operations.
* doc/lispref/windows.texi (Window Sizes, Resizing Windows):
Document some pixelwise window operations.
2014-02-27 20:58:23 +08:00
Michael Albinus
154ba7966c * 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.
2014-02-27 13:07:10 +01:00
Xue Fuqiao
6be7660863 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.
2014-02-27 20:00:30 +08:00
Michael Albinus
c22c16140e 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.
2014-02-27 12:59:04 +01:00
Xue Fuqiao
915f4bce40 Fix previous change. 2014-02-27 18:26:14 +08:00
Xue Fuqiao
8603bdb3b7 * 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.
2014-02-27 18:15:52 +08:00
Glenn Morris
01f8de4c9c * etc/NEWS: Copyedit. 2014-02-27 00:09:11 -08:00
Glenn Morris
ea7826ba52 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.
2014-02-27 00:01:22 -08:00
Glenn Morris
d926361813 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.
2014-02-26 23:42:57 -08:00
Daniel Colascione
51f213c35f Fix tramp bug with empty explicit path 2014-02-26 21:20:20 -08:00
Daniel Colascione
eff3168abc Fix tramp bug with empty explicit path 2014-02-26 21:11:50 -08:00
Glenn Morris
b77cfcd762 * emacs-lisp/crm.el (completing-read-multiple): Empower help-enable-auto-load. 2014-02-26 20:17:40 -08:00
Daniel Colascione
675cab2c1b Fix indentation 2014-02-26 13:31:22 -08:00
Glenn Morris
3b48a331d1 NEWS markup 2014-02-26 15:02:56 -05:00