paaguti / mg3a

An extended mg clone
Other
10 stars 1 forks source link

How do you exit i-search and set a mark? #5

Closed posguy99 closed 2 years ago

posguy99 commented 2 years ago

Big emacs and mg2 both accept RET to exit the search and set a mark.

But mg3a doesn't. Instead, it adds a newline to the search string.

2022-06-03-16-16-41 image

2022-06-03-16-17-05 image

What am I missing?

posguy99 commented 2 years ago

NVM, I found my own answer by reading search.c, you use ESC.

mg2 accepts ESC here as well, big emacs does not, it starts an ESC- prefix.

paaguti commented 2 years ago

Yup, this comes from mg2 PA

Enviado desde mi iPhone

El 4 jun 2022, a las 1:28, Marc Wilson @.***> escribió:

 NVM, I found my own answer by reading search.c, you use ESC. mg2 accepts ESC here as well, big emacs does not, it starts an ESC- prefix.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

posguy99 commented 2 years ago

Both big emacs and mg2 accept RET there to set the mark.

-- Marc Wilson @.***

On Sat, Jun 4, 2022, at 3:18 AM, Pedro A. Aranda Gutiérrez wrote:

Yup, this comes from mg2 PA

Enviado desde mi iPhone

El 4 jun 2022, a las 1:28, Marc Wilson @.***> escribió:

 NVM, I found my own answer by reading search.c, you use ESC. mg2 accepts ESC here as well, big emacs does not, it starts an ESC- prefix.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/paaguti/mg3a/issues/5#issuecomment-1146583398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADDYRBD37VE2JMBZTU52WTVNMUNXANCNFSM5X2NWEEA. You are receiving this because you modified the open/close state.Message ID: @.***>

paaguti commented 2 years ago

Will see what I can do once the end-of-semester peak is over. To many essays to read :)

Enviado desde mi iPhone

El 4 jun 2022, a las 16:09, Marc Wilson @.***> escribió:

 Both big emacs and mg2 accept RET there to set the mark.

-- Marc Wilson @.***

On Sat, Jun 4, 2022, at 3:18 AM, Pedro A. Aranda Gutiérrez wrote:

Yup, this comes from mg2 PA

Enviado desde mi iPhone

El 4 jun 2022, a las 1:28, Marc Wilson @.***> escribió:

 NVM, I found my own answer by reading search.c, you use ESC. mg2 accepts ESC here as well, big emacs does not, it starts an ESC- prefix.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/paaguti/mg3a/issues/5#issuecomment-1146583398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADDYRBD37VE2JMBZTU52WTVNMUNXANCNFSM5X2NWEEA. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.