Mercurial > emacs
view man/dired-xtra.texi @ 71337:7128a9839095
(init_from_display_pos): Don't set it->method and
overlay_string_index after pop_it. Add asserts.
(handle_stop): Look for overlay strings around a display string,
image, or composition. Handle properties on those strings.
(next_overlay_string): Don't set string, pos or method after pop_it.
(get_overlay_strings_1): Split from get_overlay_strings; don't
modify it if no overlay strings are found.
(get_overlay_strings): Use get_overlay_strings_1. Always set
it->string and it->method.
(push_it): Push it->image_id and it->method. Push it->object
instead of it->string if method is GET_FROM_IMAGE.
(pop_it): Pop it->image_id and it->method. Ppo it->object
instead of it->string if method is GET_FROM_IMAGE.
Reset it->current.string_pos if popped it->string is nil.
(reseat_1): Remove comment dated 19 May 2003. It expressed doubt
whether a given change was correct; but the change is correct.
Clear it->string_from_display_prop_p.
(set_iterator_to_next): Rely on it->method and it->image_id from
iterator stack, instead of setting them explicitly after pop_it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 13 Jun 2006 22:45:00 +0000 |
parents | a6e9a00b021b |
children | 3d45362f1d38 |
line wrap: on
line source
@c This is part of the Emacs manual. @c Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. @c See file emacs.texi for copying conditions. @c @c This file is included either in emacs-xtra.texi (when producing the @c printed version) or in the main Emacs manual (for the on-line version). @node Subdir Switches @section Subdirectory Switches in Dired You can insert subdirectories with specified @code{ls} switches in Dired buffers, using @kbd{C-u i}. You can change the @code{ls} switches of an already inserted subdirectory using @kbd{C-u l}. In Emacs versions 22.1 and later, Dired remembers the switches, so that reverting the buffer will not change them back to the main directory's switches. Deleting a subdirectory forgets about its switches. Using @code{dired-undo} (usually bound to @kbd{C-_} and @kbd{C-x u}) to reinsert or delete subdirectories, that were inserted with explicit switches, can bypass Dired's machinery for remembering (or forgetting) switches. Deleting a subdirectory using @code{dired-undo} does not forget its switches. When later reinserted using @kbd{i}, it will be reinserted using its old switches. Using @code{dired-undo} to reinsert a subdirectory that was deleted using the regular Dired commands (not @code{dired-undo}) will originally insert it with its old switches. However, reverting the buffer will relist it using the buffer's default switches. If any of this yields problems, you can easily correct the situation using @kbd{C-u i} or @kbd{C-u l}. Dired does not remember the @code{R} switch. Inserting a subdirectory with switches that include the @code{R} switch is equivalent with inserting each of its subdirectories using all remaining switches. For instance, updating or killing a subdirectory that was inserted with the @code{R} switch will not update or kill its subdirectories. The buffer's default switches do not affect subdirectories that were inserted using explicitly specified switches. In particular, commands such as @kbd{s}, that change the buffer's switches do not affect such subdirectories. (They do affect subdirectories without explicitly assigned switches, however.) You can make Dired forget about all subdirectory switches and relist all subdirectories with the buffer's default switches using @kbd{M-x dired-reset-subdir-switches}. This also reverts the Dired buffer. @ignore arch-tag: e3865701-9179-4ffb-bc34-d321111c688d @end ignore