Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 20:08:05 +0000 (22:08 +0200)]
* data.c (Fcdr, Fcar): Revert the last change, since it didn't really clarify much.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 18:45:36 +0000 (20:45 +0200)]
Mention `case-fold-search' in all the re_search_* functions
Fixes: debbugs:8138
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 18:37:53 +0000 (20:37 +0200)]
Manual fix for the dribble file
* trouble.texi (Checklist): Use an `M-x' example instead of an
Emacs Lisp form to switch on the dribble file.
Fixes: debbugs:8056
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 18:34:54 +0000 (20:34 +0200)]
* keyboard.c (Fopen_dribble_file): Document when the file is closed.
Fixes: debbugs:8056
Adam Sjøgren [Thu, 14 Jul 2011 18:29:19 +0000 (20:29 +0200)]
* data.c (car, cdr): add functionality hints to documentation.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 17:43:29 +0000 (19:43 +0200)]
* man.el (Man-fontify-manpage): Fix message when formatting the man page.
Fixes: debbugs:7929
Eli Zaretskii [Thu, 14 Jul 2011 17:43:50 +0000 (20:43 +0300)]
Fix format conversion in bidi.c.
src/bidi.c (bidi_dump_cached_states): Fix format of displaying
bidi_cache_idx.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 17:39:00 +0000 (19:39 +0200)]
Only output the man page name on failures
* man.el (Man-bgproc-sentinel): Skip any arguments and only output
the man page name.
Fixes: debbugs:6935
Eli Zaretskii [Thu, 14 Jul 2011 17:28:42 +0000 (20:28 +0300)]
Support bidi reordering of overlay and display strings.
Fix bugs #7616, #8133, #8867.
src/xdisp.c (compute_display_string_pos)
(compute_display_string_end): Accept additional argument STRING.
(init_iterator, reseat_1): Initialize bidi_it->string.s to NULL.
(reseat_to_string): Initialize bidi_it->string.s and
bidi_it->string.schars.
(Fcurrent_bidi_paragraph_direction): Initialize itb.string.s to
NULL (avoids a crash in bidi_paragraph_init). Initialize
itb.string.lstring.
(init_iterator): Call bidi_init_it only of a valid
buffer position was specified. Initialize paragraph_embedding to
L2R.
(reseat_to_string): Initialize the bidi iterator.
(display_string): If we need to ignore text properties of
LISP_STRING, set IT->stop_charpos to IT->end_charpos. (The
original value of -1 will not work with bidi.)
(compute_display_string_pos): First arg is now struct
`text_pos *'; all callers changed. Support display properties on
Lisp strings.
(compute_display_string_end): Support display properties on Lisp
strings.
(init_iterator, reseat_1, reseat_to_string): Initialize the
string.bufpos member to 0 (zero, for compatibility with IT_CHARPOS
when iterating on a string not from display properties).
(compute_display_string_pos, compute_display_string_end): Fix
calculation of the object to scan. Fixes an error when using
arrow keys.
(next_element_from_buffer): Don't abort when IT_CHARPOS is before
base_level_stop; instead, set base_level_stop to BEGV. Fixes
crashes in vertical-motion.
(next_element_from_buffer): Improve commentary for when
the iterator is before prev_stop.
(init_iterator): Initialize bidi_p from the default value of
bidi-display-reordering, not from buffer-local value. Use the
buffer-local value only if initializing for buffer iteration.
(handle_invisible_prop): Support invisible properties on strings
that are being bidi-reordered.
(set_iterator_to_next): Support bidi reordering of C strings and
Lisp strings.
(next_element_from_string): Support bidi reordering of Lisp
strings.
(handle_stop_backwards): Support Lisp strings as well.
(display_string): Support display of R2L glyph rows. Use
IT_STRING_CHARPOS when displaying from a Lisp string.
(init_iterator): Don't initialize it->bidi_p for strings
here.
(reseat_to_string): Initialize it->bidi_p for strings here.
(next_element_from_string, next_element_from_c_string)
(next_element_from_buffer): Add xassert's for correspondence
between IT's object being iterated and it->bidi_it.string
structure.
(face_before_or_after_it_pos): Support bidi iteration.
(next_element_from_c_string): Handle the case of the first string
character that is not the first one in the visual order.
(get_visually_first_element): New function, refactored from common
parts of next_element_from_buffer, next_element_from_string, and
next_element_from_c_string.
(tool_bar_lines_needed, redisplay_tool_bar)
(display_menu_bar): Force left-to-right direction. Add a FIXME
comment for making that be controlled by a user option.
(push_it, pop_it): Save and restore the state of the
bidi iterator. Save and restore the bidi_p flag.
(pop_it): Iterate out of display property for string iteration as
well.
(iterate_out_of_display_property): Support iteration over strings.
(handle_single_display_spec): Set up it->bidi_it for iteration
over a display string, and call bidi_init_it.
(handle_single_display_spec, next_overlay_string)
(get_overlay_strings_1, push_display_prop): Set up the bidi
iterator for displaying display or overlay strings.
(forward_to_next_line_start): Don't use the shortcut if
bidi-iterating.
(back_to_previous_visible_line_start): If handle_display_prop
pushed the iterator stack, restore the internal state of the bidi
iterator by calling bidi_pop_it same number of times.
(reseat_at_next_visible_line_start): If ON_NEWLINE_P is non-zero,
and we are bidi-iterating, don't decrement the iterator position;
instead, set the first_elt flag in the bidi iterator, to produce
the same effect.
(reseat_1): Remove redundant setting of string_from_display_prop_p.
(push_display_prop): xassert that we are iterating a buffer.
(push_it, pop_it): Save and restore paragraph_embedding member.
(handle_single_display_spec, next_overlay_string)
(get_overlay_strings_1, reseat_1, reseat_to_string)
(push_display_prop): Set up the `unibyte' member of bidi_it.string
correctly. Don't assume unibyte strings are not bidi-reordered.
(compute_display_string_pos)
(compute_display_string_end): Fix handling the case of C string.
(push_it, pop_it): Save and restore from_disp_prop_p.
(handle_single_display_spec, push_display_prop): Set the
from_disp_prop_p flag.
(get_overlay_strings_1): Reset the from_disp_prop_p flag.
(pop_it): Call iterate_out_of_display_property only if we are
popping after iteration over a string that came from a display
property. Fix a typo in popping stretch info. Add an assertion
for verifying that the iterator position is in sync with the bidi
iterator.
(handle_single_display_spec, get_overlay_strings_1)
(push_display_prop): Fix initialization of paragraph direction for
string when that of the parent object is not yet determined.
(reseat_1): Call bidi_init_it to resync the bidi
iterator with IT's position. (Bug#7616)
(find_row_edges): If ROW->start.pos gives position
smaller than min_pos, use it as ROW->minpos. (Bug#7616)
(handle_stop, back_to_previous_visible_line_start, reseat_1):
Reset the from_disp_prop_p flag.
(SAVE_IT, RESTORE_IT): New macros.
(pos_visible_p, face_before_or_after_it_pos)
(back_to_previous_visible_line_start)
(move_it_in_display_line_to, move_it_in_display_line)
(move_it_to, move_it_vertically_backward, move_it_by_lines)
(try_scrolling, redisplay_window, display_line): Use them when
saving a temporary copy of the iterator and restoring it back.
(back_to_previous_visible_line_start, reseat_1)
(init_iterator): Empty the bidi cache "stack".
(move_it_in_display_line_to): If iterator ended up at
EOL, but we never saw any buffer positions smaller than
to_charpos, return MOVE_POS_MATCH_OR_ZV. Fixes vertical cursor
motion in bidi-reordered lines.
(move_it_in_display_line_to): Record prev_method and prev_pos
immediately before the call to set_iterator_to_next. Fixes cursor
motion in bidi-reordered lines with stretch glyphs and strings
displayed in margins. (Bug#8133) (Bug#8867)
Return MOVE_POS_MATCH_OR_ZV only if iterator position is past
TO_CHARPOS.
(pos_visible_p): Support positions in bidi-reordered lines. Save
and restore bidi cache.
src/bidi.c (bidi_level_of_next_char): clen should be EMACS_NT, not int.
(bidi_paragraph_info): Delete unused struct.
(bidi_cache_idx, bidi_cache_last_idx): Declare EMACS_INT.
(bidi_cache_start): New variable.
(bidi_cache_reset): Reset bidi_cache_idx to bidi_cache_start, not
to zero.
(bidi_cache_fetch_state, bidi_cache_search)
(bidi_cache_find_level_change, bidi_cache_iterator_state)
(bidi_cache_find, bidi_peek_at_next_level)
(bidi_level_of_next_char, bidi_find_other_level_edge)
(bidi_move_to_visually_next): Compare cache index with
bidi_cache_start rather than with zero.
(bidi_fetch_char): Accept new argument STRING; all callers
changed. Support iteration over a string. Support strings with
display properties. Support unibyte strings. Fix the type of
`len' according to what STRING_CHAR_AND_LENGTH expects.
(bidi_paragraph_init, bidi_resolve_explicit_1)
(bidi_resolve_explicit, bidi_resolve_weak)
(bidi_level_of_next_char, bidi_move_to_visually_next): Support
iteration over a string.
(bidi_set_sor_type, bidi_resolve_explicit_1)
(bidi_resolve_explicit, bidi_type_of_next_char): ignore_bn_limit
can now be zero (for strings); special values 0 and -1 were
changed to -1 and -2, respectively.
(bidi_char_at_pos): New function.
(bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak):
Call it instead of FETCH_MULTIBYTE_CHAR.
(bidi_move_to_visually_next): Abort if charpos or bytepos were not
initialized to valid values.
(bidi_init_it): Don't initialize charpos and bytepos with invalid
values.
(bidi_level_of_next_char): Allow the sentinel "position" to pass
the test for valid cached positions. Fix the logic for looking up
the sentinel state in the cache. GCPRO the Lisp string we are
iterating.
(bidi_push_it, bidi_pop_it): New functions.
(bidi_initialize): Initialize the bidi cache start stack pointer.
(bidi_cache_ensure_space): New function, refactored from part of
bidi_cache_iterator_state. Don't assume the required size is just
one BIDI_CACHE_CHUNK away.
(bidi_cache_start_stack, bidi_push_it): Use IT_STACK_SIZE.
(bidi_count_bytes, bidi_char_at_pos): New functions.
(bidi_cache_search): Don't assume bidi_cache_last_idx is
always valid if bidi_cache_idx is valid.
(bidi_cache_find_level_change): xassert that bidi_cache_last_idx
is valid if it's going to be used.
(bidi_shelve_cache, bidi_unshelve_cache): New functions.
(bidi_cache_fetch_state, bidi_cache_search)
(bidi_cache_find_level_change, bidi_cache_ensure_space)
(bidi_cache_iterator_state, bidi_cache_find)
(bidi_find_other_level_edge, bidi_cache_start_stack): All
variables related to cache indices are now EMACS_INT.
src/dispextern.h (struct bidi_string_data): New structure.
(struct bidi_it): New member `string'. Make flag members be 1-bit
fields, and put them last in the struct.
(compute_display_string_pos, compute_display_string_end): Update
prototypes.
(bidi_push_it, bidi_pop_it): Add prototypes.
(struct iterator_stack_entry): New members bidi_p,
paragraph_embedding, and from_disp_prop_p.
(struct it): Member bidi_p is now a bit field 1 bit wide.
(bidi_shelve_cache, bidi_unshelve_cache): Declare
prototypes.
src/.gdbinit (xvectype, xvector, xcompiled, xchartable, xboolvector)
(xpr, xfont, xbacktrace): Use "header.size" when accessing vectors
and vector-like objects.
src/dispnew.c (buffer_posn_from_coords): Save and restore the bidi
cache around display iteration.
src/window.c (Fwindow_end, window_scroll_pixel_based)
(displayed_window_lines, Frecenter): Save and restore the bidi
cache around display iteration.
lisp/buff-menu.el (Buffer-menu-buffer+size): Accept an additional
argument LRM; if non-nil, append an invisible LRM character to the
buffer name.
(list-buffers-noselect): Call Buffer-menu-buffer+size with the
last argument non-nil, when formatting buffer names.
(Buffer-menu-mode, list-buffers-noselect): Force left-to-right
paragraph direction.
doc/lispref/display.texi (Other Display Specs): Document that `left-fringe'
and `right-fringe' display specifications are of the "replacing"
kind.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 17:20:37 +0000 (19:20 +0200)]
`put-image' doc fix
* image.el (put-image): Mention the `put-image' overlay property
(bug#7834).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 17:11:49 +0000 (19:11 +0200)]
`set-scroll-bar-mode' doc clarification
* scroll-bar.el (set-scroll-bar-mode): Mention that
`scroll-bar-mode' lists the values (bug#7772).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 17:05:43 +0000 (19:05 +0200)]
`image-mode-fit-frame' doc fix
* image-mode.el (image-mode-fit-frame): Mention that it's a toggle
command
Fixes: debbugs:7729
Eli Zaretskii [Thu, 14 Jul 2011 16:25:15 +0000 (19:25 +0300)]
Fix declarations of variables related to bidi cache indices.
src/bidi.c (bidi_cache_fetch_state, bidi_cache_search)
(bidi_cache_find_level_change, bidi_cache_ensure_space)
(bidi_cache_iterator_state, bidi_cache_find)
(bidi_find_other_level_edge, bidi_cache_start_stack): All
variables related to cache indices are now EMACS_INT.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 15:23:08 +0000 (17:23 +0200)]
Leave point at the end of the rectangle after replacing text
* rect.el (apply-on-rectangle): Return the point after the last
operation.
(string-rectangle): Go to the point after the last operation
(bug#7522).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 15:05:08 +0000 (17:05 +0200)]
`current-kill' doc clarification
* simple.el (current-kill): Clarify what
`interprogram-paste-function' does (bug#7500).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 14:54:32 +0000 (16:54 +0200)]
pr-toggle-region doc clarification
* printing.el (pr-toggle-region): Clarify the documentation
slightly (bug#7493).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 14:30:35 +0000 (16:30 +0200)]
Allow display-time-mail-function to return nil
* time.el (display-time-update): Allow
`display-time-mail-function' to return nil (bug#7158). Fix
suggested by Detlev Zundel.
Andrew Cohen [Thu, 14 Jul 2011 14:19:53 +0000 (14:19 +0000)]
Merge changes made in Gnus trunk.
nnimap.el (nnimap-request-thread): Ensure search is performed in correct group.
gnus-int.el (gnus-request-thread): Add group argument.
gnus-sum.el (gnus-request-thread): Use it.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 14:15:06 +0000 (16:15 +0200)]
`diff' doc clarification
* vc/diff.el (diff): Clarify the order the file names are read
(bug#7111).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 14:10:51 +0000 (16:10 +0200)]
Manual for for widget-keymap
* widget.texi (Setting Up the Buffer): Remove mention of the
global keymap parent, which doesn't seem to be accurate
(bug#7045).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 14:01:16 +0000 (16:01 +0200)]
mouse-set-region doc fix
* mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
the doc string (bug#7015).
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 13:50:25 +0000 (15:50 +0200)]
* font-lock.el (font-lock-maximum-decoration): Mention what numeric levels mean.
Fixes: debbugs:6935
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 13:40:24 +0000 (15:40 +0200)]
Mention that `delete-region' doesn't alter the kill ring.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 13:37:20 +0000 (15:37 +0200)]
* editfns.c (Fdelete_region): Clarify the use of the named parameters.
Fixes: debbugs:6788
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 12:57:06 +0000 (14:57 +0200)]
(initial-buffer-choice): Don't mention the `none' selection, which is against policy.
Glenn Morris [Thu, 14 Jul 2011 10:19:36 +0000 (06:19 -0400)]
Auto-commit of generated files.
Martin Rudalics [Thu, 14 Jul 2011 08:30:34 +0000 (10:30 +0200)]
Fix bugs in vertical-motion and display-buffer-normalize-special.
* indent.c (Fvertical_motion): Set and restore w->pointm when
saving and restoring the window's buffer (Bug#9006).
* window.el (display-buffer-normalize-special): Replace
`dedicated' by `dedicate' to dedicate window (Bug#9072).
Eli Zaretskii [Thu, 14 Jul 2011 06:50:21 +0000 (02:50 -0400)]
lisp/subr.el (version-*): Doc fix.
lisp/subr.el (version<, version<=, version=): Mention "-CVS" and
"-12345" alpha version numbers.
Chong Yidong [Thu, 14 Jul 2011 01:58:51 +0000 (21:58 -0400)]
* bindings.el: Add advertised binding for set-mark-command (Bug#5772).
Chong Yidong [Thu, 14 Jul 2011 01:40:30 +0000 (21:40 -0400)]
Adapt 2011-07-05 switch-to-buffer changes to new switch-to-buffer
* lisp/bindings.el (mode-line-other-buffer):
* lisp/bookmark.el (bookmark-bmenu-2-window):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
switch-to-buffer.
* lisp/net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
Deleted.
Juanma Barranquero [Thu, 14 Jul 2011 01:09:00 +0000 (03:09 +0200)]
Fix typos.
Kevin Ryde [Thu, 14 Jul 2011 00:14:35 +0000 (02:14 +0200)]
* cl.texi (For Clauses): Add destructuring example processing an
alist.
Lars Magne Ingebrigtsen [Thu, 14 Jul 2011 00:02:09 +0000 (02:02 +0200)]
(Documentation Basics): Add a link to the Function Documentation node.
Fixes: debbugs:6580
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 23:48:35 +0000 (01:48 +0200)]
Fstring_to_char doc clarification
* editfns.c (Fstring_to_char): Clarify just what is returned
(bug#6576). Text by Eli Zaretskii.
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 23:40:11 +0000 (01:40 +0200)]
Doc fix for with-silent-modifications
* subr.el (with-silent-modifications): Clarify somewhat what the
macro inhibits.
Fixes: debbugs:6525
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 23:35:36 +0000 (01:35 +0200)]
Doc fix for eval-expression
* simple.el (eval-expression): Note what it does if called
interactively.
Fixes: debbugs:6495
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 23:17:24 +0000 (01:17 +0200)]
Mention :visible menu bar separators
* keymaps.texi (Menu Bar): Mention :visible and :enable
(bug#6344). Text by Drew Adams.
Fixes: debbugs:6334
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 22:22:08 +0000 (00:22 +0200)]
(make-directory): Clarify that an error will be raised if there's an error
Fixes: debbugs:6387
Chong Yidong [Wed, 13 Jul 2011 22:00:48 +0000 (18:00 -0400)]
Add FORCE-SAME-WINDOW argument to switch-to-buffer.
* lisp/window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW. Use
pop-to-buffer buffer-or-name if it is nil.
* lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Remove switch-to-buffer.
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 21:53:41 +0000 (23:53 +0200)]
* startup.el (initial-buffer-choice): Add `none' as a choice
Fixes: debbugs:6234
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 21:42:54 +0000 (23:42 +0200)]
* modes.texi (Running Hooks): Mention buffer-local hook variables
Fixes: debbugs:6218
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 21:38:56 +0000 (23:38 +0200)]
Clarify manual and `add-hook' doc string about buffer-local hooks
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 21:27:13 +0000 (23:27 +0200)]
* dired.el (dired-flagged): Clarify doc string.
Fixes: debbugs:6117
Juanma Barranquero [Wed, 13 Jul 2011 20:33:44 +0000 (22:33 +0200)]
src/gnutls.c (init_gnutls_functions): Honor gnutls_log_level (bug#9059).
Juanma Barranquero [Wed, 13 Jul 2011 18:12:05 +0000 (20:12 +0200)]
Preserve point when doing untabify
* tabify.el (untabify): Preserve the current column so that point
doesn't move.
Fixes: debbugs:6032
Glenn Morris [Wed, 13 Jul 2011 17:55:04 +0000 (13:55 -0400)]
* doc/emacs/dired.texi (Dired Enter): Mention --dired. (Bug#9039)
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 17:47:17 +0000 (19:47 +0200)]
Doc string fix.
* progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock): Rewrite
to avoid awkward possessive "s".
Fixes: debbugs:5986
Glenn Morris [Wed, 13 Jul 2011 17:34:31 +0000 (13:34 -0400)]
Small dired fixes related to bug#9039.
* lisp/dired.el (dired-use-ls-dired): Doc fix.
(dired-insert-directory): Give a message the first time
if ls is found not to support --dired.
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 16:58:15 +0000 (18:58 +0200)]
Clarify `mark-ring-max' documentation.
* mark.texi (Mark Ring): Clarify how many locations are saved
(bug#5770).
(Global Mark Ring): Ditto.
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 16:39:49 +0000 (18:39 +0200)]
Clarify doc string
* simple.el (toggle-truncate-lines): Clarify what is toggled
(bug#5580). Text by Drew Adams.
Chong Yidong [Wed, 13 Jul 2011 16:15:07 +0000 (12:15 -0400)]
* simple.el (blink-matching-open): Make error message from last change less verbose.
Dan Nicolaescu [Wed, 13 Jul 2011 15:33:08 +0000 (17:33 +0200)]
Use "yellow" on low color terminals for comments
* font-lock.el (font-lock-comment-face): Use the high contrast
"yellow" color for font-lock-comment-face on low color terminals
using a dark background color.
Fixes: debbugs:4221
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 15:15:26 +0000 (17:15 +0200)]
(dired-insert-set-properties): Make the doc string reflect what it does now
Fixes: debbugs:5325
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 15:07:57 +0000 (17:07 +0200)]
(General Escape Syntax): "a with grave accent" is ?xe0, not ?x8e0.
Fixes: debbugs:5259
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 14:57:28 +0000 (16:57 +0200)]
Say that we were unable to find the match within the limit
* simple.el (blink-matching-open): Say that we were unable to find
the match within the limit, if we're limited (bug#5122).
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 14:34:10 +0000 (16:34 +0200)]
(prefer-coding-system): Add an example
Fixes: debbugs:4869
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 14:20:45 +0000 (16:20 +0200)]
(tags-search): Document `file-list-form'
Chris Newton [Wed, 13 Jul 2011 14:12:06 +0000 (16:12 +0200)]
Copy over `url-show-status' to the async buffer
* url-http.el (url-http): Copy over `url-show-status' to the async
buffer so that `url-display-percentage' does the right thing
(bug#4680).
Lawrence Mitchell [Wed, 13 Jul 2011 13:49:55 +0000 (15:49 +0200)]
Make the default browser choice a bit more logical
* net/browse-url.el (browse-url-default-browser)
(browse-url-browser-function): Make the default browser choice a
bit more logical. Also clean up the doc string.
Fixes: debbugs:4300
Juanma Barranquero [Wed, 13 Jul 2011 13:39:23 +0000 (15:39 +0200)]
(completion-ignored-extensions): Add OpenMCL/Clozure binary endings.
Fixes: debbugs:4440
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 13:35:02 +0000 (15:35 +0200)]
(info-insert-file-contents): Inhibit jka-compr messages, which can be pretty annoying
Fixes: debbugs:8971
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 13:25:29 +0000 (15:25 +0200)]
* jka-compr.el (jka-compr-verbose): New variable, and use throughout.
Fixes: debbugs:8971
Lars Magne Ingebrigtsen [Wed, 13 Jul 2011 13:10:54 +0000 (15:10 +0200)]
(Info-find-file): Fall back on the installation directory if we can't find the info node anywhere else.
Jan Djärv [Wed, 13 Jul 2011 10:36:12 +0000 (12:36 +0200)]
* configure.in (GSETTINGS): Check for gio-2.0 >= 2.26.
Sergei Organov [Wed, 13 Jul 2011 07:58:34 +0000 (00:58 -0700)]
* lisp/vc/vc.el (vc-revert-file): Don't set file time-stamp in the past.
Fixes: debbugs:5181
Eli Zaretskii [Wed, 13 Jul 2011 04:09:28 +0000 (00:09 -0400)]
src/buffer.c (mmap_find): Fix a typo.
Johan Bockgård [Wed, 13 Jul 2011 01:48:43 +0000 (03:48 +0200)]
Fix execution of x selection hooks.
* xselect.c (Qx_lost_selection_functions)
(Qx_sent_selection_functions): New vars.
(syms_of_xselect): DEFSYM them.
(x_handle_selection_request): Pass Qx_sent_selection_functions
rather than Vx_sent_selection_functions to Frun_hook_with_args.
(x_handle_selection_clear,x_clear_frame_selections):
Pass Qx_lost_selection_functions rather than
Vx_lost_selection_functions to Frun_hook_with_args.
Paul Eggert [Wed, 13 Jul 2011 01:15:33 +0000 (18:15 -0700)]
* buffer.c (Fget_buffer_create): Initialized inhibit_shrinking.
The old code sometimes used this field without initializing it.
Paul Eggert [Wed, 13 Jul 2011 01:04:29 +0000 (18:04 -0700)]
* alloc.c (gc_sweep): Don't read past end of array.
In theory, the old code could also have corrupted Emacs internals,
though it'd be very unlikely.
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 23:25:50 +0000 (01:25 +0200)]
Give better error messages when trying to load non-existent symlinks
* files.el (after-find-file): Give a better error message when
trying to find a symlink that points to a file that doesn't exist
(bug#4398).
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 23:19:33 +0000 (01:19 +0200)]
* progmodes/cc-vars.el: Remove (probably) misleading comment
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 22:39:21 +0000 (00:39 +0200)]
(Table Recognition): Use "at point" instead of "under point"
Fixes: debbugs:4345
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 22:37:20 +0000 (00:37 +0200)]
Manual fixes related to clarifying cursor shapes
Fixes: debbugs:4345
Chong Yidong [Tue, 12 Jul 2011 22:09:28 +0000 (18:09 -0400)]
Minor xref additions to Lisp manual.
* doc/lispref/display.texi (Face Attributes, Font Selection): Add
references to the Fonts node in the Emacs manual.
Fixes: debbugs:4178
Johan Bockgård [Tue, 12 Jul 2011 21:59:09 +0000 (23:59 +0200)]
* mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
Andreas Schwab [Tue, 12 Jul 2011 21:17:39 +0000 (23:17 +0200)]
* src/character.c (Fcharacterp): Don't advertise optional ignored
argument. (Bug#4026)
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 21:12:36 +0000 (23:12 +0200)]
(syms_of_keymap): Clarify that "modifier" is "modifier key"
Fixes: debbugs:4257
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 21:09:01 +0000 (23:09 +0200)]
window.c doc fixes.
Fixes: debbugs:4199
Chong Yidong [Tue, 12 Jul 2011 19:39:01 +0000 (15:39 -0400)]
Add Bug#2490 testcase to compilation.txt.
Chong Yidong [Tue, 12 Jul 2011 18:59:48 +0000 (14:59 -0400)]
Adapt Mouse Sel mode to Emacs 24 mouse code.
* lisp/mouse-sel.el: Hack restoring functionality, while keeping
compatibility with 2010-07-03 changes to mouse selection.
(mouse-sel-primary-overlay): New var.
(mouse-sel-selection-alist): Use it.
(mouse-sel-mode): Doc fix; remove points that are default features
of mouse.el.
Chong Yidong [Tue, 12 Jul 2011 17:33:18 +0000 (13:33 -0400)]
Remove frame-local vars from Lisp manual; obsolete since Emacs 22.3.
* display.texi (Window Systems): `window-system' is terminal-local.
* doc/lispref/frames.texi (Frame Parameters, Parameter Access): Don't mention
frame-local variables.
* doc/lispref/variables.texi (Buffer-Local Variables): Don't mention obsolete
frame-local variables. (Frame-Local Variables): Node deleted.
* doc/lispref/elisp.texi (Top): Update node listing.
Paul Eggert [Tue, 12 Jul 2011 17:29:33 +0000 (10:29 -0700)]
Merge: Fix minor new problems caught by GCC 4.6.1.
Paul Eggert [Tue, 12 Jul 2011 16:47:56 +0000 (09:47 -0700)]
* xsettings.c (store_monospaced_changed): Define only if used.
Paul Eggert [Tue, 12 Jul 2011 16:39:15 +0000 (09:39 -0700)]
* term.c (init_tty): Remove unused local.
Chong Yidong [Tue, 12 Jul 2011 15:29:27 +0000 (11:29 -0400)]
Move Dissociated Press section of manual into Amusements.
* doc/emacs/misc.texi (Amusements): Move dissociated press here, from its
own section.
* doc/emacs/emacs.texi (Top): Update node listing.
Johan Bockgård [Tue, 12 Jul 2011 14:40:56 +0000 (16:40 +0200)]
* progmodes/compile.el (compilation-error-regexp-alist-alist):
Fix previous fix.
Fixes: debbugs:2490
Roland Winkler [Tue, 12 Jul 2011 13:37:38 +0000 (08:37 -0500)]
lisp/textmodes/bibtex.el: small bug fixes
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 13:01:20 +0000 (15:01 +0200)]
Revert last patch, which wasn't correct.
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 12:58:24 +0000 (14:58 +0200)]
(menu-set-font): Clarify that the default will be saved
Fixes: debbugs:3527
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 12:53:09 +0000 (14:53 +0200)]
* emacs.texi (Top): Change "inferiors" to "subnodes" for greater clarity.
Fixes: debbugs:3523
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 12:50:42 +0000 (14:50 +0200)]
* elisp.texi: Change "inferiors" to "subnodes" in three places
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 12:39:51 +0000 (14:39 +0200)]
* org.texi (Special agenda views): Fix double quoting.
Fixes: debbugs:3509
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 12:28:35 +0000 (14:28 +0200)]
Fontise bytecomp Error lines more correctly
Fix suggested by Johan Bockgård.
Fixes: debbugs:2490
Glenn Morris [Tue, 12 Jul 2011 10:24:54 +0000 (06:24 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Tue, 12 Jul 2011 10:19:18 +0000 (06:19 -0400)]
Auto-commit of generated files.
Lars Magne Ingebrigtsen [Tue, 12 Jul 2011 07:26:48 +0000 (09:26 +0200)]
Remove `remove-duplicates', since `delete-dups' is sufficient.
Bill Wohler [Tue, 12 Jul 2011 04:54:15 +0000 (21:54 -0700)]
* NEWS, MH-E-NEWS: Update for MH-E release 8.2.91.
Bill Wohler [Tue, 12 Jul 2011 04:52:40 +0000 (21:52 -0700)]
* mh-e.el (Version, mh-version): Update for release 8.2.91.
Bill Wohler [Tue, 12 Jul 2011 04:40:16 +0000 (21:40 -0700)]
* mh-compat.el (mh-pop-to-buffer-same-window): Add compatibility
function to call switch-to-buffer on systems that lack
pop-to-buffer-same-window.
* mh-folder.el (mh-inc-folder, mh-modify, mh-scan-folder)
(mh-make-folder): Call mh-pop-to-buffer-same-window instead of
switch-to-buffer. The previous change which used pop-to-buffer
produced the wrong behavior.
Bill Wohler [Tue, 12 Jul 2011 03:25:46 +0000 (20:25 -0700)]
* mh-xface.el (mh-picon-get-image): Remove quote from block argument.
* mh-mime.el (mh-mh-directive-present-p): Ditto.