GNU bug report logs -
#77312
[PATCH] Add uniquify-get-unique-names
Previous Next
Reported by: Spencer Baugh <sbaugh <at> janestreet.com>
Date: Thu, 27 Mar 2025 15:04:03 UTC
Severity: normal
Tags: patch
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hey Daniel!
On 07/06/2025 11:11, Daniel Mendler wrote:
> Would it be possible to attach the buffer object or the original buffer
> name to the completion candidate string as text property? This would
> make it possible to attach annotations via Marginalia or to execute
> buffer actions via Embark. Otherwise I don't see a possibility to access
> the original buffer, since they are only present in the `unique-names`
> alist local variable.
That makes sense. Just call the property 'buffer'?
I wonder if it would make sense to alter the calling convention for
uniquify-get-unique-names itself to return a list of propertized strings
instead. project--read-project-buffer can do the conversion (copy each
string and attach the property), but it's just extra consing.
Unless some more new callers are going to prefer the current convention.
This bug report was last modified 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.