1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

102660 Commits

Author SHA1 Message Date
Eli Zaretskii
bb187662be Fix bug #9524 with cursor positioning on display strings in truncated lines.
src/xdisp.c (set_cursor_from_row): Don't invoke special treatment of
 truncated lines if point is covered by a display string.
2011-09-17 11:09:45 +03:00
Lars Magne Ingebrigtsen
540e44dbc8 Indent. 2011-09-17 06:53:25 +02:00
Juri Linkov
8da11505d3 lisp/window.el (window-safe-min-height, window-safe-min-width): Fix typos.
Fixes: debbugs:9522
2011-09-17 02:46:59 +02:00
Sven Joachim
a91adc7e1f lisp/window.el (window-min-width, window-state-put): Fix typos (bug#9522). 2011-09-17 02:42:13 +02:00
Paul Eggert
4768be09c9 Remove inadvertent x permissions from 4 images. 2011-09-16 12:49:18 -07:00
Paul Eggert
2e621251ca * xselect.c: Relax test for outgoing X longs (Bug#9498).
(cons_to_x_long): New function.
(lisp_data_to_selection_data): Use it.  Correct the test for
short-versus-long data; it was negated.  Break out of vector
loop, for efficiency, when a long datum is discovered.
2011-09-16 10:49:29 -07:00
Eli Zaretskii
064f328a6a Fix bug #971 with next/previous-line when goal-column is set.
lisp/simple.el (line-move): If goal-column is set, move by logical
 lines, not by display lines.
 (next-line, previous-line, goal-column, line-move-visual): Doc fix
 to reflect the above change.
2011-09-16 20:15:16 +03:00
Stefan Monnier
91a15bc634 * src/eval.c (Fquote): Document its non-consing behavior.
Fixes: debbugs:9482
2011-09-16 10:14:48 -04:00
Stefan Monnier
e69df51669 * lisp/image.el (imagemagick-register-types): Use regexp-opt. 2011-09-16 09:46:42 -04:00
Eli Zaretskii
b41c3a3565 Fix a compilation error with MinGW GCC 3.x in tiff_handler.
src/image.c (tiff_handler): Work around a bug in MinGW GCC 3.x (see
 GCC PR/17406) by declaring this function with external scope.
2011-09-16 13:25:39 +03:00
Paul Eggert
7812ba2dea * editfns.c (Fformat): Fix bug in text-property fix (Bug#9514).
Don't mishandle (length (format "%%")) and (format "%4000s%%" "").
2011-09-15 11:11:37 -07:00
Paul Eggert
4c12272509 Fix my ChangeLog entry. 2011-09-15 10:41:25 -07:00
Eli Zaretskii
32256c7b2b Fix a typo in comment from 2011-09-15T15:41:03Z!eliz@gnu.org. 2011-09-15 20:37:16 +03:00
Andreas Schwab
cf7edc2a6e * src/editfns.c (Fformat): Correctly handle text properties on "%%". 2011-09-15 18:56:07 +02:00
Eli Zaretskii
bd01620e01 Add comments about special meaning of TAB characters in compositions.
src/xterm.c (x_draw_composite_glyph_string_foreground):
 src/w32term.c (x_draw_composite_glyph_string_foreground):
 src/term.c (encode_terminal_code):
 src/composite.c (composition_update_it, get_composition_id):
 src/xdisp.c (get_next_display_element)
 (fill_composite_glyph_string): Add comments about special meaning
 of TAB characters in a composition.
2011-09-15 19:22:58 +03:00
Paul Eggert
a02719a326 * editfns.c (Fformat): Fix off-by-1 bug for "%%b" (Bug#9514).
This occurs when processing a multibyte format, which can happen
when using 'eval'.  Problem reported by Wolfgang Jenker.
2011-09-15 09:10:37 -07:00
Johan Bockgård
72589a3cee Fix bug #9495 with cursor positioning on truncated lines.
Patch by Johan Bockgוrd <bojohan@gnu.org>

 src/xdisp.c (try_cursor_movement): Only check for exact match if
 cursor hpos found by set_cursor_from_row is valid.  (Bug#9495)
2011-09-15 19:02:49 +03:00
Eli Zaretskii
983a899097 xdisp.c (hscroll_window_tree): Sync comment with the code. 2011-09-15 18:41:03 +03:00
Chong Yidong
cbb0f9ab98 Make the user customizable display-buffer variable empty by default.
* lisp/window.el (display-buffer-base-action): Rename from
display-buffer-default-action.  Make default value empty.
(display-buffer-overriding-action): Convert to defvar.
(display-buffer-fallback-action): New var.
2011-09-15 11:12:15 -04:00
Glenn Morris
39b3d70b17 Auto-commit of generated files. 2011-09-15 06:18:44 -04:00
Lars Magne Ingebrigtsen
7985478fe5 gnus-sum.el (gnus-summary-read-group-1): Bump the "Retrieving" message level. 2011-09-15 05:46:40 +00:00
Glenn Morris
088f329c33 * configure.in: (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers. 2011-09-14 20:01:25 -07:00
Glenn Morris
0cc87afbdb Make the GNUstep port at least be able to configure.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00938.html

* configure.in: (_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE.
(GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.
2011-09-14 19:32:55 -07:00
Chong Yidong
92fa95ad88 * doc/emacs/package.texi (Package Menu): Add package-menu-mark-upgrades. 2011-09-14 22:10:52 -04:00
Chong Yidong
d770725a3d Add package-menu-mark-upgrades to the Package Menu menu bar map. 2011-09-14 22:05:17 -04:00
Chong Yidong
25322144fc Add an "mark upgradable packages" command to Package Menu mode.
* lisp/emacs-lisp/package.el (package-alist): Fix risky-local-variable
declaration.
(package--add-to-archive-contents): If there is a duplicate entry
with an older version, remove it.
(package-menu-mark-delete, package-menu-mark-install)
(package-menu-mark-unmark): Make unused args optional.
(package-menu-mark-obsolete-for-deletion): Use
package-menu-get-status instead of a regexp search.
(package-menu-get-status): Use tabulated-list-entry.
(package-menu-mark-upgrades): New command.
(package-menu-mode-map): Bind it to U.
(package-menu-execute): Do installation before deletion.
(package-menu-refresh, package-menu-execute): Use derived-mode-p
instead of checking major-mode.
(package-menu--find-upgrades): New function.
2011-09-14 21:57:54 -04:00
Katsumi Yamaoka
d5fdf93f87 message.el (message-read-from-minibuffer): Make abbrev expansion work. 2011-09-15 01:08:08 +00:00
Lars Magne Ingebrigtsen
65a046c491 Update the process marker so that the "broken by peer" status message is inserted in the right place. 2011-09-15 00:57:57 +02:00
Lars Magne Ingebrigtsen
7520339cd1 (smtpmail-send-command): Don't include AUTH passwords in the log buffer 2011-09-14 23:59:50 +02:00
Paul Eggert
1c14176cfd Remove unused external symbols.
* dispextern.h (calc_pixel_width_or_height): Remove decl.
* xdisp.c (calc_pixel_width_or_height): Now static.
* doprnt.c (exprintf) [! (HAVE_X_WINDOWS && USE_X_TOOLKIT)]: Remove.
* indent.c (check_display_width):
* w32term.c: Fix comment to match code.
* xterm.c, xterm.h (x_catching_errors): Remove.
2011-09-14 14:45:51 -07:00
Stefan Monnier
3fe48822c3 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
(bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
bibtex-completion-at-point-function.
(bibtex-completion-at-point-function): Use them.
2011-09-14 17:43:36 -04:00
Stefan Monnier
1b8b395447 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix. 2011-09-14 17:21:59 -04:00
Stefan Monnier
d3c309545b * mpc.el (mpc-constraints-tag-lookup): New function.
(mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
also to browser "album|playlist".
2011-09-14 17:20:24 -04:00
Juri Linkov
7277997612 Share code between isearch-message' and isearch-string' in `isearch-fail-pos'.
http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00169.html

* lisp/isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
(isearch-edit-string): Use length of `isearch-string' when
`isearch-fail-pos' returns nil.
(isearch-message): Remove duplicate code and call
`isearch-fail-pos' with arg `t'.
2011-09-14 19:07:42 +03:00
Paul Eggert
d2eea5b594 * xselect.c: Use signed conversions more consistently (Bug#9498).
(selection_data_to_lisp_data): Assume incoming selection data are
signed integers, not unsigned.  This is to be consistent with
outgoing selection data, which was modified to use signed integers
in as part of the fix to Bug#9196 in response to Jan Djärv's comment
in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11
expects long, not unsigned long.
2011-09-14 08:47:21 -07:00
Chong Yidong
17bb0a2d83 * replace.el (occur-mode-goto-occurrence): Don't force using other window.
Fixes: debbugs:9499
2011-09-14 11:14:34 -04:00
Chong Yidong
a0bf2bcd93 * lisp/dired-aux.el (dired-do-chmod): Don't provide initial input. 2011-09-14 11:06:28 -04:00
Martin Rudalics
f678e0b6a2 Replace display-buffer-window by help-setup window parameter.
* window.el (display-buffer-window): Remove.
(display-buffer-record-window): Use help-setup window parameter
instead of variable display-buffer-window.
(display-buffer-function, special-display-buffer-names)
(special-display-function): Mention help-setup parameter instead
of display-buffer-window in doc-string.
* help.el (help-window-setup): New argument help-window.  Use
help-window-setup parameter instead of display-buffer-window.
Reword some messages.
(with-help-window): Pass window used for displaying the buffer
to help-window-setup.  Don't set display-buffer-window.
2011-09-14 11:17:30 +02:00
Dani Moncayo
bf1af6c786 * doc/lispref/lists.texi (Sets And Lists): Fix typo. (tiny change) 2011-09-13 23:52:54 -07:00
Eli Zaretskii
46888499da xdisp.c (try_window_reusing_current_matrix): Fix incorrect computation of loop end.
src/xdisp.c (try_window_reusing_current_matrix): Fix incorrect
 computation of loop end.  Reported by Johan Bockgård <bojohan@gnu.org>.
2011-09-14 01:20:23 -04:00
Juanma Barranquero
4d61f28dcc Fix typos in ChangeLogs. 2011-09-14 01:42:21 +02:00
Glenn Morris
5f66aa05d4 Tabify previous change. 2011-09-13 17:13:10 -04:00
Glenn Morris
8e39b2e837 * lisp/emacs-lisp/debug.el (debugger-make-xrefs): Preserve point. (Bug#9462) 2011-09-13 17:02:27 -04:00
Chong Yidong
85e9c04bf3 * lisp/window.el (window-deletable-p): Use next-frame. 2011-09-13 15:10:32 -04:00
Martin Rudalics
1b36ed6a22 Remove most window auto deletions.
* window.el (window-auto-delete): Remove.
(window-deletable-p): Remove argument FORCE.  Don't deal with
dedicatedness and previous buffers.
(switch-to-prev-buffer): Don't delete window.
(delete-windows-on): Delete a window's frame if and only if the
window is dedicated.
(replace-buffer-in-windows): Delete buffer's window or frame if
and only if window is dedicated.
(quit-window): Handle quit-restore as before last change.
(bury-buffer): Delete window only if window-deletable-p returns
t.
2011-09-13 20:07:11 +02:00
Glenn Morris
b026d240fc * lisp/progmodes/scheme.el (scheme-indent-function): Yet another doc typo. 2011-09-13 13:57:04 -04:00
Glenn Morris
dd4b63a6a5 * lisp/progmodes/scheme.el (scheme-indent-function): Fix doc typo in previous. 2011-09-13 13:44:25 -04:00
Lars Magne Ingebrigtsen
ad87170ff3 Fix URL connection failing handling.
* url-http.el (url-http-find-free-connection): If there was an
error on connect, make sure the user isn't bothered with
irrelevant questions.
2011-09-13 19:18:08 +02:00
Chong Yidong
ef8ef9fb80 * lisp/window.el (window-deletable-p): Never delete last frame on a terminal.
* src/frame.c (Fother_visible_frames_p): Function deleted.
2011-09-13 11:33:16 -04:00
Glenn Morris
b2cba41ecd * lisp/help.el (describe-key-briefly): Copy previous standard-output change. 2011-09-13 00:22:05 -07:00