Thanks for your comments.
Sameer Sahasrabuddhe <
same...@gmail.com> writes:
> Here's some further thoughts on this idea, where the point is to
> prevent over-designing. The fact is that some commands in helm are
> very useful to go look at individual locations in files. Examples are
> grep, occur, moccur, mark-ring. But in other commands, locations
> inside files are not very relevant. For example find-file, where the
> user is looking at filenames and not the contents in the files. With
> this observation, it would be very intuitive if there was a single
> variable that affects the follow-mode in all commands where it is
> useful to show the location of the current candidate.
We will have a variable (helm-source-names-using-follow) where source
names can be stored. When running a source with its name in this list
follow will be used only if `helm-follow-mode-persistent` is non-nil.
But knowing the source name of each source you want follow to be enabled
can be tedious, so to customize this list the user will have only to set
`helm-follow-mode-persistent` and then at each time C-c C-f is used in a
source, the name of this source will be saved or removed from the list.
> Slightly tangential comment: I recently discovered helm and I think
> it's a huge improvement over icicles after using the latter for almost
> a year. But when I discovered helm-swoop, the most impressive part of
> the demo was how the display got updated with each candidate. I
> incorrectly assumed that this was not available in vanilla helm-occur
> until I discovered follow-mode. But once I knew how to enable it in
> helm-occur, I got so used to it that I removed helm-swoop!
Yes, helm-(m)occur have all the features that *swoop propose and more,
it have the advantage to select buffers from helm-buffers-list, mini
etc... and its implementation makes it faster than *swoop.
It is just more popular because of this kind of follow feature
(different from helm-follow-mode) enabled by default.
> The point of this long story is that follow-mode is a powerful
> feature, but not easily visible up front. For the class of commands
> that I identified earlier, I think it should be okay to even enable it
> by default.
Not by default, I personally don't use follow and don't want it enabled
everywhere.
Note that one can use also C-<down> and C-<up>...
--
Thierry