unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* MacOS 1015: problem with emacsforosx, does not read everything in my init file
@ 2021-04-10 18:59 Uwe Brauer
  2021-04-11  8:25 ` [SOLVED] (was: MacOS 1015: problem with emacsforosx, does not read everything in my init file) Uwe Brauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2021-04-10 18:59 UTC (permalink / raw)
  To: help-gnu-emacs


Hi

That is a strange problem, when start emacsforosx, it seems to read and
load everything from my init file, save the following lines

(when (eq system-type 'darwin)
  (setq mac-right-option-modifier nil)
  (setq mac-right-control-modifier 'control)
  (setq mac-command-modifier 'meta)
  (setq mac-option-modifier 'super)
  (setq mac-control-modifier 'hyper)
  (setq default-directory "/Users/oub/")
  )

However when I jump to the end of the closing parenthesis and type 
eval-last-sexp, the code is executed and everything is fine.

What is going on here?

Maybe a mac user knows more about that issue?

Thanks

Uwe Brauer 






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

* [SOLVED] (was: MacOS 1015: problem with emacsforosx, does not read everything in my init file)
  2021-04-10 18:59 MacOS 1015: problem with emacsforosx, does not read everything in my init file Uwe Brauer
@ 2021-04-11  8:25 ` Uwe Brauer
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Brauer @ 2021-04-11  8:25 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi

> That is a strange problem, when start emacsforosx, it seems to read and
> load everything from my init file, save the following lines

> (when (eq system-type 'darwin)
>   (setq mac-right-option-modifier nil)
>   (setq mac-right-control-modifier 'control)
>   (setq mac-command-modifier 'meta)
>   (setq mac-option-modifier 'super)
>   (setq mac-control-modifier 'hyper)
>   (setq default-directory "/Users/oub/")
>   )

> However when I jump to the end of the closing parenthesis and type 
> eval-last-sexp, the code is executed and everything is fine.

Thanks to Stefan Moser, I found a solution: one has to write a small
script and place it in /usr/local/bin to start emacs from the command line.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

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

end of thread, other threads:[~2021-04-11  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-10 18:59 MacOS 1015: problem with emacsforosx, does not read everything in my init file Uwe Brauer
2021-04-11  8:25 ` [SOLVED] (was: MacOS 1015: problem with emacsforosx, does not read everything in my init file) Uwe Brauer

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).