unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Mac: Don't quit Emacs when window is closed
@ 2016-01-17 20:07 Luis Gerhorst
  2016-01-17 22:40 ` Marcin Borkowski
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Luis Gerhorst @ 2016-01-17 20:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
I have the problem that I always quit Emacs by mistake when I am done with a task by clicking the button to close the Emacs window. I have a few ideas / questions:

- Wouldn't it be a good idea to make Emacs act like most Mac application and not quit the application when the window is closed? Is there some reason why this is not possible?
- How can I disable the button to close the window or make it call suspend-frame instead of save-buffers-kill-emacs?

Best wishes from Germany,
Luis Gerhorst




^ permalink raw reply	[flat|nested] 15+ messages in thread
* repeating a search a certain number of times
@ 2016-01-21 17:41 Timur Aydin
  2016-01-21 22:14 ` Marcin Borkowski
  0 siblings, 1 reply; 15+ messages in thread
From: Timur Aydin @ 2016-01-21 17:41 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have been looking for a way to repeat a search a certain number of 
times, and from the documentation i have found the search-forward 
function to do that:

(search-forward "something" nil nil 5)

But unfortunately this isn't bound to a key. The docstring says it is 
bound to <find>, but I don't know what that means. It isn't a lisp 
function. I thought maybe it is a menu item, but can't see that in the 
menu either.

So my question is, how can I bind this to a key so that when I press it, 
it asks me for the string, then the repetition count and then goes ahead 
and finds it?

-- 
Timur



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-01-21 22:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-17 20:07 Mac: Don't quit Emacs when window is closed Luis Gerhorst
2016-01-17 22:40 ` Marcin Borkowski
2016-01-18  4:21   ` Random832
2016-01-19 18:31     ` Luis Gerhorst
     [not found]   ` <mailman.2484.1453090928.843.help-gnu-emacs@gnu.org>
2016-01-18 17:05     ` Barry Margolin
2016-01-18 18:03       ` Philipp Stephani
2016-01-21 17:36       ` repeating a search a certain number of times Timur Aydin
2016-01-21 18:10         ` Drew Adams
2016-01-18  7:15 ` Mac: Don't quit Emacs when window is closed Nick Helm
2016-01-19 18:35   ` Luis Gerhorst
2016-01-19 21:46     ` Luis Gerhorst
2016-01-19 22:04     ` Nick Helm
2016-01-18  9:11 ` tomas
  -- strict thread matches above, loose matches on Subject: below --
2016-01-21 17:41 repeating a search a certain number of times Timur Aydin
2016-01-21 22:14 ` Marcin Borkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).