RE: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-07 Thread Drew Adams
> > I hear you. The behavior should be changed so > > that, in general, bounds-of-thing-at-point etc. > > return nil when there is _no thing at point_, > > including when point is after, including just > > after, a thing but not on such a thing. > > > > There can be commands (and noncommand fns) t

RE: RE: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-06 Thread Drew Adams
Thanks for your reply, Jim. > On 4/30/2024 2:10 PM, Drew Adams wrote: > >> I've also fixed a bug in EWW and bug-reference-mode > >> where it would return nil for (thing-at-point 'url) > >> if point was at the *end* of a URL. > > > > By "at

RE: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-04-30 Thread Drew Adams
> I've also fixed a bug in EWW and bug-reference-mode > where it would return nil for (thing-at-point 'url) > if point was at the *end* of a URL. By "at the end" I assume you really mean just _after_ a URL, i.e., no longer on/at the URL. FWIW, that's actually _superior_ behavior. Unfortunately

RE: [External] : Re: [DISCUSSION] "quick-help" popup for org-columns (column view)

2024-02-12 Thread Drew Adams
> The point of quick-help is to provide a persistent buffer > with useful bindings, comparable to what Nano does OOTB. > One critical difference between which-key and transient > compared to quick-help, is that the latter has nothing > to do with prefix maps, but (by default) just presents > globa

[O] bug#28263: bug#28263: 24.5; Org: `C-c LETTER' keys

2018-02-19 Thread Drew Adams
> I will happily remove the part you consider to be offending Great. > once we can point users towards appropriate information > within the Emacs manual. Would you like to report a bug > about it? OK. I filed bug #30530. Please feel free to chime in there, if your idea of what needs to be done

[O] bug#28263: bug#28263: 24.5; Org: `C-c LETTER' keys

2018-02-18 Thread Drew Adams
> Drew Adams writes: > > > No. I'm saying that Org should not suggest that > > users bind keys that are reserved for use by users > > to Org commands. > > > > And it should not then present those keys in the doc. > > > > And it should no

[O] bug#28263: bug#28263: 24.5; Org: `C-c LETTER' keys

2017-12-06 Thread Drew Adams
> Could you summarize how you think the situation could be improved in > one or two sentences? > > I think what you are trying to say is, Org mode should make global > key bindings for some commands. No. I'm saying that Org should not suggest that users bind keys that are reserved for use by use

[O] bug#28263: 24.5; Org: `C-c LETTER' keys

2017-12-05 Thread Drew Adams
> >> Org's manual suggests to bind `org-agenda' to `C-c a', > >> but doesn't bind it by default. > > > > I'm not even sure that's a great idea. I think not. > > > > I suppose it's "legit", as the user, not the Org code, > > would be making the binding. But in my libraries I > > provide binding

[O] bug#28263: 24.5; Org: `C-c LETTER' keys

2017-12-04 Thread Drew Adams
> > Dunno whether there are actual bindings in Org that correspond to these > > occurrences in the source code of `C-c' followed by a letter. Might be > > worth checking. (Bindings of `C-c' followed by a letter are reserved > > for users.) Possibly these are just vestigial doc indications, which

Re: [O] Org Linking to Bookmark [+]

2015-02-11 Thread Drew Adams
> (defun org-bmkp-store-link () >"Store a link to a bmkp bookmark." >(when (memq major-mode '(bookmark-bmenu-mode)) > (let* ((bookmark (org-bmkp-get-bookmark-name)) |

[O] bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only

2014-11-18 Thread Drew Adams
Hi Bastien, > > There are lots of menu items in the Org menu-bar menus (Org, Tbl, > > Text) that modify the buffer but are not disabled when the buffer is > > read-only. They should be - they are no-ops in this context. > > > > This is all the more important because there are still plenty of > >

Re: [O] make slim auto-complete work in Org-mode (delete some ac-source in Org-mode).

2014-07-29 Thread Drew Adams
> But this code will use =delq= to delete *global default* =ac-sources= too. > But I only want to delete in Org-mode. > So is there some other ways to do it? `remq' is like `delq' but non-destructive - it modifies a copy. (And `remove' is like `delete' but non-destructive.)

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Drew Adams
> * Sequences consisting of `C-c' followed by any other punctuation > character are allocated for minor modes. Using them in a major > mode is not absolutely prohibited, but if you do that, the major > mode binding may be shadowed from time to time by minor modes. > > That's pretty

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Drew Adams
> > > Perhaps it's better to report this as an Emacs bug so that > > > we can discuss the issue with Emacs maintainers and see > > > what's really at stake here. > > > > Since you are familiar with whatever bindings Org sets, and > > you have read the key-binding conventions section of the > > manu

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Drew Adams
> > No major mode should do so. > > One problem is that Org uses C-c . too ... and some more. > > Perhaps it's better to report this as an Emacs bug so that we can > discuss the issue with Emacs maintainers and see what's really at > stake here. I'm not familiar with Org mode. As I said, I don'

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Drew Adams
> > * Sequences consisting of `C-c' followed by any other punctuation > >character are allocated for minor modes. Using them in a major > >mode is not absolutely prohibited, but if you do that, the major > >mode binding may be shadowed from time to time by minor modes. > > > > IOW, no

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-23 Thread Drew Adams
> I have an additional question: where does one ask for help about icicle? 1. `M-x icicle-send-bug-report' or menu Icicles > Send Icicles Bug Report or `M-x customize-group Icicles' > click Send Bug Report 2. Emacs Wiki: Bugs: http://www.emacswiki.org/emacs/IciclesIssues Suggestions: http:/

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-22 Thread Drew Adams
Someone pointed me to this thread. I am not subscribed to this list, so cc me if you want me to see a reply you write. Wrt some of what I read in the thread: 1. It is not true, (or else it is meaningless, depending on what you mean by that phrase) that "C-c ' is officially an Emacs keybinding".

Re: [O] automagically add/remove org mode buffers to agenda files list (was: Re: collect info from org files in agenda when open?)

2013-07-14 Thread Drew Adams
> (add-hook 'kill-buffer-hook 'org-remove-file) > > But the last hook does not work as espected. Instead it says > "Current buffer does not visit a file". But according to the > documentation kill-buffer-hook is run before the buffer is > actually killed and the buffer is current when calling th

Re: [O] naming and/or directly addressing particular windows?

2012-12-01 Thread Drew Adams
> Anyway: is it possible to give/get a name for a window that persists > long enough to be called in functions? This might help: (defun icicle-make-window-alist (&optional all-p) "Return an alist of entries (WNAME . WINDOW), where WNAME names WINDOW. The name of the buffer in a window is used

[O] bug#12702: 24.2; Orgmode Refile complains "Not bookmark format"

2012-10-24 Thread Drew Adams
> >> I found a way to reproduce this: have a corrupt bookmarks file. > >> Check the contents of your bookmark-default-file. Try > >> (re)moving it. > > Wonderfull. I had an empty ~/.emacs.d/bookmarks file. > > I removed it and the problem is gone. > > Hmm... it would be good if Emacs were a bit m

[Orgmode] RE: cheatsheets in emacs

2010-09-23 Thread Drew Adams
> There is this ruby utility cheat (see http://cheat.errtheblog.com/ ) > that allows one to make/use cheatsheets using ruby. The format of the > cheatsheet is yml. > > I feel that it should be possible to replace ruby by emacs and the > yaml format by org-mode > > Does anything like this exist? >