[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] Ability to turn off use of `thing-at-point'
From: |
Yoni Rabkin |
Subject: |
Re: [emms-help] Ability to turn off use of `thing-at-point' |
Date: |
Wed, 15 Nov 2017 14:46:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Jordan Wilson <address@hidden> writes:
> Hi,
>
> it would be good if the various instances of "(thing-at-point
> 'filename)" in the package were wrapped in a user variable
> conditional. I always end up having to delete a random string (the text
> around where ever my cursor happens to be) from the minibuffer when I
> change the playlist.
>
> E.g.
>
> #+BEGIN_SRC emacs-lisp
> ...
> (when emms-source-initial-filename
> (thing-at-point 'filename))
> ...
> #+END_SRC
>
> where `emms-source-initial-filename' is a boolean that is set by
> default to `t'.
(Sorry for taking so long to get to this.)
Would you rather the default be like `emms-add-directory;? In fact, does
anyone actually end up using the initial string provided by
`think-at-point' here? Can we turn that off by default? I would say yes,
but please chime in if you know otherwise.
--
"Cut your own wood and it will warm you twice"