1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-08 20:58:58 +00:00

102383 Commits

Author SHA1 Message Date
Deniz Dogan
27de4e2048 * lisp/net/rcirc.el (rcirc-insert-prev-input)
(rcirc-insert-next-input): Remove unused argument.
2011-08-28 08:07:14 +02:00
Stefan Monnier
356a368181 * lisp/shell.el (shell-parse-pcomplete-arguments): Unquote args.
Fixes: debbugs:9160
2011-08-28 01:15:17 -04:00
Eli Zaretskii
dca4927e8b Fix vertical cursor motion from start of R2L lines in L2R paragraphs.
src/xdisp.c (move_it_to): Don't bail out early when reaching
 position beyond to_charpos, if we are scanning backwards.
 (move_it_vertically_backward): When DY == 0, make sure we get to
 the first character in the line after the newline.
2011-08-27 21:11:49 +03:00
Eli Zaretskii
b75258b328 src/bidi.c: Rearrange commentary to bidi_fetch_char. 2011-08-27 15:18:27 +03:00
Eli Zaretskii
bd206ce50c Minor fix of documenting for focus-follows-mouse.
doc/emacs/frames.texi (Frame Commands): Advise setting focus-follows-mouse
 even on MS-Windows.  Fix a typo.
2011-08-27 15:10:24 +03:00
Alan Mackenzie
9980ebf354 textmodes/paragraphs.el. Undo previous accidental patch. 2011-08-27 11:14:50 +00:00
Alan Mackenzie
3fc9b21845 progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it handle
function pointer parameters properly.
2011-08-27 08:41:23 +00:00
Martin Rudalics
538a061c72 Fix bug in display-buffer-reuse-window (Bug#9381).
* window.el (display-buffer-reuse-window): Fix case where
selected window was reused with non-nil OTHER-WINDOW argument.
(Bug#9381)
2011-08-27 10:38:33 +02:00
Eli Zaretskii
f18164855a etc/NEWS: Fix entries related to bidirectional support. 2011-08-27 11:36:56 +03:00
Deniz Dogan
35b1c40c36 * net/rcirc.el (rcirc-check-auth-status): Adding support for oftc's NickServ messages. 2011-08-27 10:28:46 +02:00
Eli Zaretskii
bdcdea6699 TUTORIAL.he: Use LRE instead of LRO. 2011-08-27 11:22:29 +03:00
Paul Eggert
f2cad7739d * ccl.c: Improve and simplify overflow checking (Bug#9196).
(ccl_driver): Do not generate an out-of-range pointer.
(Fccl_execute_on_string): Remove unnecessary check for
integer overflow, noted by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00979.html>.
Remove a FIXME that didn't need fixing.
Simplify the newly-introduced buffer reallocation code.
2011-08-27 00:07:32 -07:00
Juanma Barranquero
0cae2cdbb3 src/makefile.w32-in ($(BLD)/alloc.$(O)): Depend on lib/verify.h. 2011-08-27 03:42:00 +02:00
Glenn Morris
2f6a3e7912 * lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352) 2011-08-26 20:52:47 -04:00
Chong Yidong
041d709f19 Re-order NEWS items. 2011-08-26 15:10:19 -04:00
Paul Eggert
5fc295a42f Merge from trunk. 2011-08-26 09:13:07 -07:00
Chong Yidong
7254299e4d * package.el (package-install): Call package-initialize if called interactively. 2011-08-26 11:53:50 -04:00
Chong Yidong
d43f5a423d Document package manager in Emacs manual.
* doc/emacs/package.texi: New file, documenting the package manager.

* doc/emacs/emacs.texi: Include it.

* doc/emacs/help.texi (Help Summary): Add describe-package.
2011-08-26 11:48:19 -04:00
Glenn Morris
37846983d0 Auto-commit of generated files. 2011-08-26 06:19:08 -04:00
Eli Zaretskii
c11821d4e1 Fix bug #9324 with unwarranted repositioning of point.
src/xdisp.c (redisplay_window): Don't force window start if point
 will be invisible in the resulting window.
2011-08-26 13:07:06 +03:00
Leo Liu
f8ccf16762 Fix format bug in defstruct
http://debbugs.gnu.org/9357
2011-08-26 17:52:07 +08:00
Katsumi Yamaoka
2a9878fd77 mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype. 2011-08-26 09:01:56 +00:00
Jan Djärv
52ec1febdd * configure.in: Add -MP to DEPFLAGS.
Fixes: debbugs:9372
2011-08-26 09:12:16 +02:00
Paul Eggert
fcbc5f60ee Merge from trunk. 2011-08-25 22:05:13 -07:00
Katsumi Yamaoka
16e07ee0c3 gnus-msg.el (gnus-setup-message): Remove extra apostrophe. 2011-08-26 04:25:55 +00:00
Paul Eggert
ef25feb443 Merge from trunk. 2011-08-25 15:38:52 -07:00
Juri Linkov
3e8cd5ce95 * lisp/isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
`search-whitespace-regexp'.

Fixes: debbugs:9364
2011-08-25 23:48:45 +03:00
Juri Linkov
93eb711326 * lisp/isearch.el (isearch-edit-string): Let-bind `search-ring' and
`regexp-search-ring' to their global values to protect from
updating by `read-from-minibuffer'.

Fixes: debbugs:9185
2011-08-25 23:32:54 +03:00
Juri Linkov
f65d1611ff * lisp/textmodes/ispell.el (ispell-command-loop): Add newline
at the end of the "Use option `i'..." line.
2011-08-25 22:54:07 +03:00
Juri Linkov
f1cf7a31ca * lisp/battery.el (display-battery-mode): If `battery-status-function'
or `battery-mode-line-format' is nil, display the message and set
`display-battery-mode' to nil.

Fixes: debbugs:9363
2011-08-25 22:49:57 +03:00
Paul Eggert
a974cdce9b Merge from trunk. 2011-08-25 12:06:56 -07:00
Eli Zaretskii
e25be79236 Fix last change for text terminals.
src/xdisp.c (try_cursor_movement): Don't advance `row' beyond the
 last row of the window.
2011-08-25 20:16:39 +03:00
Eli Zaretskii
fee65a97c0 Fix cursor motion with long continued lines near window bottom.
src/xdisp.c (try_cursor_movement): Check for the need to scroll more
 accurately, and prefer exact match for point under bidi.
2011-08-25 19:33:16 +03:00
Chong Yidong
856ce114ff Fix Emacs manual chapter numbers in last change. 2011-08-25 12:30:46 -04:00
Chong Yidong
f404f8bc63 Relocate some additional Emacs manual nodes.
* doc/emacs/display.texi (Narrowing): Move into display chapter.

* doc/emacs/picture-xtra.texi (Picture Mode): Group with Editing Binary
Files section.  Convert from chapter into section.

* doc/emacs/text.texi (Two-Column): Move into Text chapter.
2011-08-25 12:13:59 -04:00
Chong Yidong
e0b1591ba7 Rearrange manual chapters to group mail, rmail, and gnus together.
* sending.texi (Sending Mail):
* rmail.texi (Rmail):
* misc.texi (Gnus, Document View):
* dired.texi (Dired):
* emacs.texi: Group the mail, rmail, and gnus chapters together.
2011-08-25 11:38:49 -04:00
Bastien Guerry
84f211108b Cosmetic fixes. 2011-08-25 13:00:13 +02:00
Eli Zaretskii
0c95fcf739 Handle `(space ...)' display spec as paragraph separator.
src/xdisp.c (compute_display_string_pos): Return 2 in DISP_PROP when
 the display spec is of the form `(space ...)'.
 (handle_display_spec): Return the value returned by
 handle_single_display_spec, not just 1 or zero.
 (handle_single_display_spec): If the display spec is of the form
 `(space ...)', and specifies display in the text area, return 2
 rather than 1.
 src/dispextern.h (struct bidi_it): Rename the disp_prop_p member
 into disp_prop; all users changed.
 src/bidi.c (bidi_fetch_char): If compute_display_string_pos returns
 DISP_PROP = 2, substitute the u+2029 PARAGRAPH SEPARATOR character
 for the text covered by the display property.
 lisp/buff-menu.el (Buffer-menu-buffer+size): Remove calls to
 bidi-string-mark-left-to-right; they are unnecessary now.
 doc/lispref/display.texi (Specified Space): Mention that `space' specs
 influence bidi reordering.
 (Bidirectional Display): Explain how to use `(space . PROPS)' for
 separating fields with bidirectional content.
2011-08-25 13:45:33 +03:00
Deniz Dogan
a2ebe600c9 * lisp/net/quickurl.el: Documentation typo fixes. 2011-08-25 07:43:57 +02:00
Glenn Morris
b2948976fc * lisp/emacs-lisp/derived.el (define-derived-mode): Doc fix. 2011-08-24 22:37:55 -07:00
Chong Yidong
e4ed06f12b Delete record-buffer, and rename unrecord-buffer to bury-buffer-internal.
* lisp/window.el (bury-buffer, quit-window): Use bury-buffer-internal.

* src/buffer.c (Fbury_buffer_internal): Rename from Funrecord_buffer.
Change return value to nil.
(Frecord_buffer): Delete unused function.
2011-08-24 20:45:23 -04:00
Glenn Morris
e5f1c99e95 Minor smtpmail.el fixes.
* lisp/mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
(smtpmail-via-smtp): Handle nil response from smtp.
2011-08-24 20:41:03 -04:00
Paul Eggert
011ba6eaac Merge from trunk. 2011-08-24 14:20:36 -07:00
Juri Linkov
f22f4808a0 More uses of error' and warning' faces.
* lisp/battery.el (battery-update): Use the face `error' instead of
`font-lock-warning-face'.

* lisp/ibuffer.el (ibuffer-marked-face): Change default face from
`font-lock-warning-face' to `warning'.
(ibuffer-deletion-face): Change default face from
`font-lock-type-face' to `error'.

* lisp/proced.el (proced-marked): Inherit from `error' instead of
`font-lock-warning-face'.

Fixes: debbugs:6117
2011-08-24 21:09:18 +03:00
Juri Linkov
6a93965ee8 * lisp/faces.el (success): Change face color from "Green3" to
"ForestGreen" on light background.

Fixes: debbugs:9353
2011-08-24 21:01:40 +03:00
Chong Yidong
1ed43b0999 Rename quit-restore-window into quit-window.
* lisp/window.el (quit-window): Renamed from quit-restore-window.  Use
same arglist as old quit-window.
(frame-auto-delete): Doc fix.

* lisp/view.el (view-mode-exit): Use quit-window.
2011-08-24 13:38:46 -04:00
Eli Zaretskii
8610fe8b84 Fix cursor movement in R2L text within L2R paragraphs.
src/xdisp.c (set_cursor_from_row): Consider candidate row a win if its
 glyph represents a newline and point is on that newline.  Fixes cursor
 positioning on the newline at EOL of R2L text within L2R
 paragraph, and vice versa.
 (try_cursor_movement): Check continued rows, in addition to
 continuation rows.  Fixes unwarranted scroll when point enters a
 continued line of R2L text within an L2R paragraph, or vice versa.
 (cursor_row_p): Consider the case of point being equal to
 MATRIX_ROW_END_CHARPOS.  Prevents cursor being stuck when moving
 from the end of a short line to the beginning of a continued line
 of R2L text within L2R paragraph.
 (RECORD_MAX_MIN_POS): For max_pos, use IT_CHARPOS even for
 composed characters.
2011-08-24 18:51:56 +03:00
Eli Zaretskii
5980d4c6db Fix current-bidi-paragraph-direction and its doc.
src/xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte
 buffers, return left-to-right.
 doc/lispref/display.texi (Bidirectional Display): Document return value in
 buffers that are not bidi-reordered for display, and in unibyte
 buffers.
2011-08-24 14:49:54 +03:00
Juri Linkov
11dcdbb283 "C-s M-p" brings the tip of the search ring.
* lisp/isearch.el (isearch-ring-adjust1): Start visiting previous
search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
(isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
for empty search string (when the last search string is reused
automatically) to adjust the isearch ring to the last element and
prepare the correct index for further M-p commands.

Fixes: debbugs:9185
2011-08-24 12:40:58 +03:00
Eli Zaretskii
f67cdd7f25 Minor changes in bidi.c.
src/bidi.c (bidi_check_type): Use xassert.
 (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p
 members.
2011-08-24 10:46:00 +03:00