profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/oantolin/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

oantolin/embark 289

Emacs Mini-Buffer Actions Rooted in Keymaps

minad/marginalia 269

:scroll: marginalia.el - Marginalia in the minibuffer

oantolin/orderless 239

Emacs completion style that matches multiple regexps in any order

oantolin/icomplete-vertical 83

Global Emacs minor mode to display icomplete candidates vertically

oantolin/emacs-config 35

My personal Emacs configuration

oantolin/live-completions 22

Live updating of the *Completions* buffer

oantolin/epithet 20

Emacs package to rename buffers with descriptive names

oantolin/math-delimiters 17

Insert math delimiters in TeX, LaTeX and Org buffers

oantolin/async-completing-read 16

An async-capable completing read function

oantolin/placeholder 11

Emacs package to treat any buffer as a template with placeholders to fill-in

push eventoantolin/emacs-config

Omar Antolín

commit sha 5e99f9231c77b086d749177c22663d3a535607df

Add avy-action-goto to dispatch list (for link-hint-open-link)

view details

push time in 4 minutes

push eventoantolin/emacs-config

Omar Antolín

commit sha 5ed6393dd2a58f62531f3a6faf2d286141d8fc17

Update which-key indicator for new plist format

view details

push time in 5 hours

CommitCommentEvent
CommitCommentEvent
CommitCommentEvent

push eventoantolin/embark

Omar Antolín

commit sha 560af655922582f3f20a46fb1969915ee34028a4

Add target for package on current line in *Packages* buffer Sometimes I really just want to copy the homepage URL to the kill-ring, and it is really annoying without Embark!

view details

push time in a day

CommitCommentEvent
CommitCommentEvent
CommitCommentEvent

issue commentminad/consult

Enhancement: customizable list of symbols to try to get the 'thing at point' used in future history

It depends on the major mode, right? In the modes (Text mode, Verilog mode and modes to support the many in-house languages typical in EDA companies) I usually work in, the target is not abcd@gmail.com.

You're absolutely right, I forgot to take that into account.

slayer152

comment created time in a day

issue commentoantolin/embark

conflict with consult buffer

It has nothing to do with Vertico. It's still a mystery to me but it is something about the interaction of consult-buffer with which-key.

tshu-w

comment created time in 2 days

push eventoantolin/emacs-config

Omar Antolín

commit sha a60c8190e2a5a7c739d05dda8ea97fa532fdc303

Update which-key indicator for new plist format

view details

push time in 2 days

GollumEvent

issue commentoantolin/embark

conflict with consult buffer

It's very weird.

  1. If you remove all the which-key stuff from that test.el, the problem disappears!
  2. With the which-key stuff, although the narrowing to [Hidden buffers] is displayed, the target is still correct (in your screenshot it is *Messages*, not any of the hidden buffers)!

Very strange.

tshu-w

comment created time in 2 days

issue commentoantolin/embark

conflict with consult buffer

That recipe to reproduce works! I'll look into it.

tshu-w

comment created time in 2 days

push eventoantolin/embark

Omar Antolín

commit sha edf352906519d229488119c5952095655bd304e3

Recognize explicit mailto: URLs as both emails and URLs embark-target-email-at-point now strips "mailto:" from an explicit mailto URL to get a plain email address (sadly it can no longer be defined with embark-define-thingatpt-target). Also, now embark-target-url-at-point does *not* strip "mailto:" from explicit mailto URLs. The intention behind this change is that now for an explicit URL you can treat it as an email or a URL, as you wish. (Probably many Org mode users do want to paste mailto links into Org files.)

view details

push time in 2 days

issue commentminad/consult

Enhancement: customizable list of symbols to try to get the 'thing at point' used in future history

I often have to work with email ids in text documents - with point on a email id (say, abcd@gmail.com), embark-act recognizes the target as a url mailto:abcd@gmail.com (cycling through other targets doesn't recognize the email id).

I'm a little surprised at what you said about cycling: I thought that the next target after url would be symbol, and that the symbol target would be exactly abcd@gmail.com.

But anyway, I just made the change I mentioned, and now there is a new email target which does not have the mailto: prefix (which a single "compose mail" action). See 4b5325b75bb7132db44ffcefc2dc40b76bb0bec3.

slayer152

comment created time in 2 days

push eventoantolin/embark

Omar Antolín

commit sha 4b5325b75bb7132db44ffcefc2dc40b76bb0bec3

Add new email target category Emails can occur as a "mailto:" URL or on their own. Previously embark-target-url-at-point would turn any lone email address into a mailto URL. One would compose a mail by using the browse-url action, but this is a bit fragile since it depends on the mailto entry of browse-url-default-handlers not being customized or overridden in browse-url-handlers. Also, people usually just don't want the "mailto:" prefix if they save an email address on the kill-ring. So, now, instead we turn both mailto URLs and standalone emails to a plain unprefixed address and have a dedicated embark-compose-mail action, which is a trivial wrapper around compose-mail (which we would have been able to use directly if it had a different interactive specification). Left for future work: adding other sensible actions to emails. Perhaps an action to add the address to a contact list? The problem with that one is that there are so many contact books one might use in Emacs: ecomplete, bbdb, ebdb, eudc, org-contacts, ...! (That sounds like a good candidate for a wiki entry, though.)

view details

push time in 2 days

issue commentoantolin/embark

conflict with consult buffer

Are you sure that the filtering is being activated? When the filtering is active there should be a [Hidden buffer] message in the minibuffer prompt and I don't see that in your screenshot. It also does not look like there is any space inserted in your minibuffer prompt, I see Switch to:, one space, then the cursor. So I think whatever you are seeing is probably something else.

I tried reproducing this and could not. When I use Vertico and run embark-act without any input it acts on the first listed buffer, which is not a hidden buffer, and the hidden buffers do stay hidden. I'd love to help further, but it will be difficult unless you can figure out how to reproduce this issue starting from emacs -q.

tshu-w

comment created time in 2 days

issue commentoantolin/embark

conflict with consult buffer

Are you sure that the filtering is being activated? When the filtering is active there should be a [Hidden buffer] message in the minibuffer prompt and I don't see that in your screenshot. It also does not look like there is any space inserted in your minibuffer prompt, I see Switch to:, one space, then the cursor. So I think whatever you are seeing is probably something else.

I tried reproducing this and could not. When I use Vertico and run embark-act without any input it acts on the first listed buffer, which is not a hidden buffer, and the hidden buffers do stay hidden. I'd love to help further, but it will be difficult unless you can figure out how to reproduce this issue starting from emacs -q.

tshu-w

comment created time in 2 days

issue commentminad/consult

Enhancement: customizable list of symbols to try to get the 'thing at point' used in future history

There has been talk of adding a separate email target type to Embark, instead of treating emails as mail to URLs. I was sort of on the fence because I didn't see a good reason for it, but this is the final push I needed. I'll make that change in a little while.

slayer152

comment created time in 2 days

issue commentminad/consult

Enhancement: customizable list of symbols to try to get the 'thing at point' used in future history

Yes, but it's just that I have to pause mentally to determine what should be done next based on my target - Consult command as an Embark action if selected region or get thing at point from future history

Oh, you don't have to choose: you can run the Consult command as an Embark action in both cases! Say you bind embark-act to C-., for instance. Then in some buffer if you have no region active, C-. C l would typically search for the symbol at point (or maybe file at point, url at point, s-expression at point, etc., depending on exactly where the cursor is) with consult-line. If you do have an active region, then that is used because in Embark's default configuration regions have higher priority that the other types of target I mentioned.

Please feel free to close the issue if Daniel and you think it's too niche of a request to support

It's completely up to Daniel, I'm just offering some alternatives. :)

slayer152

comment created time in 2 days

issue commentoantolin/orderless

About the completion results given by orderless.

No, the icomplete-vertical package supplies a mode called icomplete-vertical-mode. There is a package I wrote with that name and in the development version of Emacs, Emacs 28, there is another package of the same name with very similar functionality (that I had nothing to do with).

The icomplete-mode mode you mentioned is provided by the built-in icomplete package. It displays completion candidates horizontally instead of vertically like Ivy.

The list of advantages and disadvantages are somewhat subjective, but definitely the main difference is that Icomplete displays candidates in a horizontal manner and Ivy shows them vertically. But of course there is icomplete-vertical if you want something like Icomplete but want a vertical display.

Another big difference is that Icomplete respects the Emacs settings for completion-styles, while Ivy does not use completion-styles and instead has it's own matching logic.

I think really the only way to know what you prefer is to try both.

hongyi-zhao

comment created time in 2 days

issue commentoantolin/orderless

About the completion results given by orderless.

I'm glad you found the configuration to use Orderless with Ivy, @hongyi-zhao.

In both of the new screenshots you posted you are still using Ivy, not Icomplete. In the first screenshot you did use (icomplete-mode) but the rest of your configuration loads Ivy and it takes over from Icomplete. If you are happy with Ivy, I don't think you really need Icomplete at all.

The difference in the results in the two screenshots is only that the first one include some results from the Icomplete package, because you loaded it. In the second screenshot, when you did not load Icomplete, those functions are absent.

hongyi-zhao

comment created time in 2 days

issue commentoantolin/orderless

About the completion results given by orderless.

@hongyi-zhao Swiper uses Ivy, and I believe that Ivy doesn't use the completion-styles at all. Notice that even though you run (icomplete-mode) your screen shot looks like Ivy, Icomplete.

It is possible to use orderless with Ivy, and you can find instructions on how to configure that in the orderless README.

On the other hand if you really meant to use I complete instead of Ivy you'll have to stop using Swiper. I can recommend the excellent Consult package which has a command called consult-line which is very similar to Swiper.

Finally, if you like Icomplete, I think you'd probably like Vertico even more.

hongyi-zhao

comment created time in 3 days

push eventoantolin/embark

Omar Antolín

commit sha 9a8bb2915aa57ed2151daf31b90c9c135c2f4989

Deprecate avy-embark-collect in favor of link-hint

view details

push time in 3 days

issue openedminad/consult

Info manual is missing

I'm not sure what happened but the Consult info manual seems to be missing. I still have info manuals for Vertico and Corfu.

created time in 3 days

issue closedoantolin/embark

Make a 0.11 release

There were no releases for quite some time. Can you put a tag on some of the latest commits, please? So the embark will be updated in downstream distributions and package managers.

closed time in 3 days

abcdw

issue commentoantolin/embark

Make a 0.11 release

Done.

abcdw

comment created time in 3 days

issue closedoantolin/embark

Add link in README?

Maybe it's a good idea to link to this post about 15 ways to use Embark. In my case, it was extremely useful in understanding the spirit of the package and its capabilities.

closed time in 3 days

agenbite