all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help
@ 2002-10-20  7:57 swk
  2002-10-24 13:01 ` Help Jesper Harder
  0 siblings, 1 reply; 61+ messages in thread
From: swk @ 2002-10-20  7:57 UTC (permalink / raw)


I have a large data base that I want to add the Chinese (luni-solar) 
dates to.

Each line starts with a modified ISO date    e.g.,   19991203   (YYYYMMDD)

Just d/loaded and installed GNU EMACS (on a WIN 98 machine) and got the 
calendar (convert date function) to work by opening the calendar and 
clicking on a date and then issuing the command p C to get the date 
converted in the littile gui window to the Chinese date.

Is there any way to pull the ISO Dates to a file and then append the 
equivilant Chinese dates to a file?


_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: Help
  2002-10-20  7:57 Help swk
@ 2002-10-24 13:01 ` Jesper Harder
  2002-10-24 21:45   ` Help swk
  2002-10-29 21:56   ` Help swk
  0 siblings, 2 replies; 61+ messages in thread
From: Jesper Harder @ 2002-10-24 13:01 UTC (permalink / raw)


swk <sunwukong@hananet.net> writes:

> Each line starts with a modified ISO date    e.g.,   19991203   (YYYYMMDD)
>
> Is there any way to pull the ISO Dates to a file and then append the
> equivilant Chinese dates to a file?

I don't think there's any predefined functionality for that.  Here's a
suggestion for a way you could implement it.  

Evaluate the following, load the file with the ISO dates in a buffer and
do `M-x jh-iso-to-chinese', which will put the Chinese dates in another
buffer.


(defun jh-iso-to-chinese ()
  (interactive)
  (goto-char (point-min))
  (while (re-search-forward "^\\([[:digit:]]\\{4\\}\\)\\([[:digit:]]\\{2\\}\\)\\([[:digit:]]\\{2\\}\\)" nil t)
    (let ((str (format "%s\n" (calendar-chinese-date-string 
			       (mapcar 'string-to-int 
				       (list (match-string 1) 
					     (match-string 2) 
					     (match-string 3)))))))
    (with-current-buffer (get-buffer-create "*chinese output*")
      (insert str))))
  (switch-to-buffer "*chinese output*"))

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

* Re: Help
  2002-10-24 13:01 ` Help Jesper Harder
@ 2002-10-24 21:45   ` swk
  2002-10-29 21:56   ` Help swk
  1 sibling, 0 replies; 61+ messages in thread
From: swk @ 2002-10-24 21:45 UTC (permalink / raw)


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

Thanks I will give it a try.  I've found a DLL that may also do the job.



Jesper Harder wrote:

>swk <sunwukong@hananet.net> writes:
>
>  
>
>>Each line starts with a modified ISO date    e.g.,   19991203   (YYYYMMDD)
>>
>>Is there any way to pull the ISO Dates to a file and then append the
>>equivilant Chinese dates to a file?
>>    
>>
>
>I don't think there's any predefined functionality for that.  Here's a
>suggestion for a way you could implement it.  
>
>Evaluate the following, load the file with the ISO dates in a buffer and
>do `M-x jh-iso-to-chinese', which will put the Chinese dates in another
>buffer.
>
>
>(defun jh-iso-to-chinese ()
>  (interactive)
>  (goto-char (point-min))
>  (while (re-search-forward "^\\([[:digit:]]\\{4\\}\\)\\([[:digit:]]\\{2\\}\\)\\([[:digit:]]\\{2\\}\\)" nil t)
>    (let ((str (format "%s\n" (calendar-chinese-date-string 
>			       (mapcar 'string-to-int 
>				       (list (match-string 1) 
>					     (match-string 2) 
>					     (match-string 3)))))))
>    (with-current-buffer (get-buffer-create "*chinese output*")
>      (insert str))))
>  (switch-to-buffer "*chinese output*"))
>  
>


[-- Attachment #2: Type: text/html, Size: 1607 bytes --]

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

* Re: Help
  2002-10-24 13:01 ` Help Jesper Harder
  2002-10-24 21:45   ` Help swk
@ 2002-10-29 21:56   ` swk
  1 sibling, 0 replies; 61+ messages in thread
From: swk @ 2002-10-29 21:56 UTC (permalink / raw)


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

I Put three lines with data

19991201
19991202
19991203

Into another buffer loaded the below code into another buffer
evaluated the code then switched to the other buffer
The en ran the command

M-x jh-iso-to-chinese


Emacs just switched to the other buffer

(C:\EMACS-21.2\BIN\EMACS.EXE)
For information about the GNU Project and its goals, type C-h C-p.
Loading image...done
call-interactively: End of buffer
Mark set
mouse-minibuffer-check: Minibuffer window is not active [2 times]
Loading calendar...done
Loading mule-util...done
Loading cal-move...done
jh-iso-to-chinese

This is what is in the messages buffer

Is the cursor supposed to be before the dates to be converted or after?

Jesper Harder wrote:

>swk <sunwukong@hananet.net> writes:
>
>  
>
>>Each line starts with a modified ISO date    e.g.,   19991203   (YYYYMMDD)
>>
>>Is there any way to pull the ISO Dates to a file and then append the
>>equivilant Chinese dates to a file?
>>    
>>
>
>I don't think there's any predefined functionality for that.  Here's a
>suggestion for a way you could implement it.  
>
>Evaluate the following, load the file with the ISO dates in a buffer and
>do `M-x jh-iso-to-chinese', which will put the Chinese dates in another
>buffer.
>
>
>(defun jh-iso-to-chinese ()
>  (interactive)
>  (goto-char (point-min))
>  (while (re-search-forward "^\\([[:digit:]]\\{4\\}\\)\\([[:digit:]]\\{2\\}\\)\\([[:digit:]]\\{2\\}\\)" nil t)
>    (let ((str (format "%s\n" (calendar-chinese-date-string 
>			       (mapcar 'string-to-int 
>				       (list (match-string 1) 
>					     (match-string 2) 
>					     (match-string 3)))))))
>    (with-current-buffer (get-buffer-create "*chinese output*")
>      (insert str))))
>  (switch-to-buffer "*chinese output*"))
>  
>


[-- Attachment #2: Type: text/html, Size: 2259 bytes --]

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

* Help
@ 2004-06-08  7:52 patrizia d'ippolito
  2005-12-13 23:32 ` Help Richard M. Stallman
  0 siblings, 1 reply; 61+ messages in thread
From: patrizia d'ippolito @ 2004-06-08  7:52 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 422 bytes --]

Hallo, for my studies I use Emacs 19.34; I want expand default
 functionalities and I wrote new function in emacs-lisp.I had a
 problem...to use function that are in dired.el, if these aren't
 "interactive", I must copy their source code in my function.....
 Is there a solution?
Thanks
Cordiality
Patrizia D'Ippolito


		
---------------------------------
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!

[-- Attachment #1.2: Type: text/html, Size: 596 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

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

* help
@ 2004-12-15 12:53 fisherssml
  0 siblings, 0 replies; 61+ messages in thread
From: fisherssml @ 2004-12-15 12:53 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 513 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Help
@ 2005-08-03 14:07 Rich Hojsack
  2005-12-15 15:35 ` Help Kevin Rodgers
  0 siblings, 1 reply; 61+ messages in thread
From: Rich Hojsack @ 2005-08-03 14:07 UTC (permalink / raw)


I am trying to get a tab special character to an ascii output file in shell.  this file will eb a tab-delimited file for an excel load. help!

Richard Hojsack
Project Manager
PG Energy,a division of Southern Union Co
hojsack@pgenergy.com
(570)829-8689
(570)829-8743 Fax

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

* Re: Help
  2004-06-08  7:52 Help patrizia d'ippolito
@ 2005-12-13 23:32 ` Richard M. Stallman
  2005-12-14  7:55   ` Help Juri Linkov
  0 siblings, 1 reply; 61+ messages in thread
From: Richard M. Stallman @ 2005-12-13 23:32 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Emacs 19 is very old now, so you're on your own.

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

* Re: Help
  2005-12-13 23:32 ` Help Richard M. Stallman
@ 2005-12-14  7:55   ` Juri Linkov
  2005-12-14 16:34     ` Help Kevin Rodgers
                       ` (2 more replies)
  0 siblings, 3 replies; 61+ messages in thread
From: Juri Linkov @ 2005-12-14  7:55 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> Emacs 19 is very old now, so you're on your own.

I misread this as "Emacs is 19 years old now" :-)

Is this really true?  How old is Emacs now?

-- 
Juri Linkov
http://www.jurta.org/emacs/

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

* Re: Help
  2005-12-14  7:55   ` Help Juri Linkov
@ 2005-12-14 16:34     ` Kevin Rodgers
  2005-12-14 19:15     ` Help Eli Zaretskii
  2005-12-15  2:07     ` Help Richard M. Stallman
  2 siblings, 0 replies; 61+ messages in thread
From: Kevin Rodgers @ 2005-12-14 16:34 UTC (permalink / raw)


Juri Linkov wrote:
>>Emacs 19 is very old now, so you're on your own.
> 
> 
> I misread this as "Emacs is 19 years old now" :-)
> 
> Is this really true?  How old is Emacs now?

Emacs is about 29 years old:

http://www.emacswiki.org/cgi-bin/wiki/EmacsHistory
http://en.wikipedia.org/wiki/Emacs#History

The first GNU Emacs release I'm aware of is version 15.10
on April 11, 1985.

-- 
Kevin Rodgers

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

* Re: Help
  2005-12-14  7:55   ` Help Juri Linkov
  2005-12-14 16:34     ` Help Kevin Rodgers
@ 2005-12-14 19:15     ` Eli Zaretskii
  2005-12-15  2:07     ` Help Richard M. Stallman
  2 siblings, 0 replies; 61+ messages in thread
From: Eli Zaretskii @ 2005-12-14 19:15 UTC (permalink / raw)
  Cc: bug-gnu-emacs, rms

> From: Juri Linkov <juri@jurta.org>
> Date: Wed, 14 Dec 2005 09:55:19 +0200
> Cc: bug-gnu-emacs@gnu.org
> 
> > Emacs 19 is very old now, so you're on your own.
> 
> I misread this as "Emacs is 19 years old now" :-)
> 
> Is this really true?  How old is Emacs now?

IIRC, GNU Emacs started in 1985.

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

* Re: Help
  2005-12-14  7:55   ` Help Juri Linkov
  2005-12-14 16:34     ` Help Kevin Rodgers
  2005-12-14 19:15     ` Help Eli Zaretskii
@ 2005-12-15  2:07     ` Richard M. Stallman
  2005-12-15  8:16       ` Help Werner LEMBERG
  2 siblings, 1 reply; 61+ messages in thread
From: Richard M. Stallman @ 2005-12-15  2:07 UTC (permalink / raw)
  Cc: bug-gnu-emacs

The first release of GNU Emacs was in March 1985.
The first Emacs was developed in the last quarter of 1975.

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

* Re: Help
  2005-12-15  2:07     ` Help Richard M. Stallman
@ 2005-12-15  8:16       ` Werner LEMBERG
  0 siblings, 0 replies; 61+ messages in thread
From: Werner LEMBERG @ 2005-12-15  8:16 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> The first release of GNU Emacs was in March 1985.
> The first Emacs was developed in the last quarter of 1975.

Happy anniversaries!


    Werner

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

* Re: Help
  2005-08-03 14:07 Help Rich Hojsack
@ 2005-12-15 15:35 ` Kevin Rodgers
  0 siblings, 0 replies; 61+ messages in thread
From: Kevin Rodgers @ 2005-12-15 15:35 UTC (permalink / raw)


Rich Hojsack wrote:
> I am trying to get a tab special character to an ascii output file in shell.  this file will eb a tab-delimited file for an excel load. help!

C-q TAB

-- 
Kevin Rodgers

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

* Help
@ 2007-04-29  6:45 Mahesh HM
  0 siblings, 0 replies; 61+ messages in thread
From: Mahesh HM @ 2007-04-29  6:45 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: maheshig_hm

Dear Helpdesk,

I need one help, I am installed FC6 on my laptop one problem is whenever
I starts emacs it looks at /etc/hosts file, Can you explain why it is
looking at /etc/hosts file.

Thanks,
Mahesh
NEL lab.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

* Re: Help
       [not found] <mailman.2698.1177883418.7795.help-gnu-emacs@gnu.org>
@ 2007-04-29 22:07 ` Harald Hanche-Olsen
  0 siblings, 0 replies; 61+ messages in thread
From: Harald Hanche-Olsen @ 2007-04-29 22:07 UTC (permalink / raw)
  To: help-gnu-emacs

+ Mahesh HM <mahesh@ece.iisc.ernet.in>:

| I need one help, I am installed FC6 on my laptop one problem is
| whenever I starts emacs it looks at /etc/hosts file, Can you explain
| why it is looking at /etc/hosts file.

I can't give you a detailed answer, but emacs links with standard
networking libraries, and they will typically look at that file at the
slightest provocation.  In other words, why worry?

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

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

* help
@ 2007-12-13  5:42 HANS jackman
  2007-12-13 17:38 ` help Mike Mattie
  2007-12-13 19:16 ` help Sebastian Tennant
  0 siblings, 2 replies; 61+ messages in thread
From: HANS jackman @ 2007-12-13  5:42 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]

hello, 

         well this is Hans from Mauritius,

    i've been trying lately to get help from someone about Emacs but without any success. so if u could please help me out i will really appreciate it. 

i just want to know how to create interfaces with Emacs and how to create functions and calling them. 

thank you again,
hans.


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[-- Attachment #1.2: Type: text/html, Size: 927 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: help
  2007-12-13  5:42 help HANS jackman
@ 2007-12-13 17:38 ` Mike Mattie
  2007-12-13 19:16 ` help Sebastian Tennant
  1 sibling, 0 replies; 61+ messages in thread
From: Mike Mattie @ 2007-12-13 17:38 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]

On Wed, 12 Dec 2007 21:42:44 -0800 (PST)
HANS jackman <hansjackman@yahoo.com> wrote:

> hello, 
> 
>          well this is Hans from Mauritius,
> 
>     i've been trying lately to get help from someone about Emacs but
> without any success. so if u could please help me out i will really
> appreciate it. 
> 
> i just want to know how to create interfaces with Emacs and how to
> create functions and calling them. 

http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/Writing-Defuns.html

> thank you again,
> hans.
> 
> 
>       ____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: help
  2007-12-13  5:42 help HANS jackman
  2007-12-13 17:38 ` help Mike Mattie
@ 2007-12-13 19:16 ` Sebastian Tennant
  1 sibling, 0 replies; 61+ messages in thread
From: Sebastian Tennant @ 2007-12-13 19:16 UTC (permalink / raw)
  To: help-gnu-emacs

Quoth HANS jackman <hansjackman@yahoo.com>:
> i just want to know how to create interfaces with Emacs and how to
> create functions and calling them.

Type:

 C-h f <function-name> RET

  or,

 M-x describe-function RET <function-name> RET

for a short description about a function.

C-h f defun RET 

 "defun is a special form in `C source code'.
  (defun NAME ARGLIST [DOCSTRING] BODY...)

  Define NAME as a function.
  The definition is (lambda ARGLIST [DOCSTRING] BODY...).
  See also the function `interactive'."

Here's an example function definiton:

 (defun foo (bar baz) "Join strings" (let ((fum (concat bar " " baz)))
                                        (message "%s" fum)))
         ^      ^            ^       |________________________________|
         |      |            |                      |
         |      |            |                      |
       NAME  ARGLIST     DOCSTRING                 BODY

Copy this function definition to the *scratch* buffer, place point (the
cursor) below it and type:

 C-j

to 'evalute' the function.  The word 'foo' should appear.

Now type:

 (foo "hello" "world")
 C-j

and the string "hello world" should appear.

Congratulations!

You have just written, evaluated and called your first function.

Hope this helps,

Sebastian

P.S. C-h  is the key sequence Ctrl-h ('Ctrl' key + 'h' key, together)

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

* help
@ 2008-06-09 16:00 江林
  2008-06-09 19:39 ` help Xah
  0 siblings, 1 reply; 61+ messages in thread
From: 江林 @ 2008-06-09 16:00 UTC (permalink / raw)
  To: help-gnu-emacs

how can I change the backgroud color ?


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

* Help
@ 2008-06-09 16:36 ila
  2008-06-09 19:47 ` Help Xah
  2008-06-10 17:01 ` Help Joel J. Adamson
  0 siblings, 2 replies; 61+ messages in thread
From: ila @ 2008-06-09 16:36 UTC (permalink / raw)
  To: help-gnu-emacs

How do I customize emacs so that I can type C-x instead of meta/alt.
So, for example, I can type "C-x x forward-char" instead of "M-x
forward-char".
I want this to apply to all shortcuts with meta, not just that one.


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

* Re: help
  2008-06-09 16:00 help 江林
@ 2008-06-09 19:39 ` Xah
  0 siblings, 0 replies; 61+ messages in thread
From: Xah @ 2008-06-09 19:39 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 9, 9:00 am, lulyq...@163.com (江林) wrote:
> how can I change the backgroud color ?

Type M-x set-background-color.

To see what colors you can set, use M-x list-colors-display.

For other FAQ and tips, see:
http://xahlee.org/emacs/emacs.html

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 61+ messages in thread

* Re: Help
  2008-06-09 16:36 Help ila
@ 2008-06-09 19:47 ` Xah
  2008-06-10  0:29   ` Help Nikolaj Schumacher
  2008-06-10 17:01 ` Help Joel J. Adamson
  1 sibling, 1 reply; 61+ messages in thread
From: Xah @ 2008-06-09 19:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 9, 9:36 am, ila <irdaqr...@gmail.com> wrote:
> How do I customize emacs so that I can type C-x instead of meta/alt.
> So, for example, I can type "C-x x forward-char" instead of "M-x
> forward-char".
> I want this to apply to all shortcuts with meta, not just that one.

Many Meta keybinding will then jam with the Control bindings. So, you
either swap Control and Alt system-wide, or you have assing M-x to C-x
on a case by case basis.

You can use this to do it wholesale
(keyboard-translate ?\M-x ?\C-x)

How to Define Keyboard Shortcuts in Emacs
http://xahlee.org/emacs/keyboard_shortcuts.html

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 61+ messages in thread

* Re: Help
  2008-06-09 19:47 ` Help Xah
@ 2008-06-10  0:29   ` Nikolaj Schumacher
  0 siblings, 0 replies; 61+ messages in thread
From: Nikolaj Schumacher @ 2008-06-10  0:29 UTC (permalink / raw)
  To: Xah; +Cc: help-gnu-emacs

Xah <xahlee@gmail.com> wrote:

> On Jun 9, 9:36 am, ila <irdaqr...@gmail.com> wrote:
>> How do I customize emacs so that I can type C-x instead of meta/alt.
>> So, for example, I can type "C-x x forward-char" instead of "M-x
>> forward-char".
>> I want this to apply to all shortcuts with meta, not just that one.
>
> Many Meta keybinding will then jam with the Control bindings. So, you
> either swap Control and Alt system-wide, or you have assing M-x to C-x
> on a case by case basis.

I don't think the OP wants to swap C and M.  He wants C-x to work like
escape when "emulating" the meta key.

(This is based on the quote, I haven't received the original mail yet.)


(global-set-key "\C-x" esc-map)

should do the trick.



regards,
Nikolaj Schumacher




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

* Re: Help
  2008-06-09 16:36 Help ila
  2008-06-09 19:47 ` Help Xah
@ 2008-06-10 17:01 ` Joel J. Adamson
  1 sibling, 0 replies; 61+ messages in thread
From: Joel J. Adamson @ 2008-06-10 17:01 UTC (permalink / raw)
  To: ila; +Cc: help-gnu-emacs

ila <irdaqramo@gmail.com> writes:

> How do I customize emacs so that I can type C-x instead of meta/alt.
> So, for example, I can type "C-x x forward-char" instead of "M-x
> forward-char".
> I want this to apply to all shortcuts with meta, not just that one.

What's leading you to want this?  Is there a problem with your keyboard?

The reason I ask is that these are keybindings that you should probably
learn rather than modify --- there are good reasons for having them
there.

Are you using X?  Do you have a modified keyboard layout?  Tell me more.

Joel

-- 
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
Homepage: http://www.unc.edu/~adamsonj
Please read http://www.unc.edu/~adamsonj/roe.html




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

* Help
@ 2010-01-05 16:17 Rhey, David
  2010-01-05 19:11 ` Help Tassilo Horn
  0 siblings, 1 reply; 61+ messages in thread
From: Rhey, David @ 2010-01-05 16:17 UTC (permalink / raw)
  To: 'help-gnu-emacs@gnu.org'

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

Hello,

I'm an IT worker with the University of Michigan. I have a professor who has a fairly detailed .emacs file that he's worked with for years. I recently built him a VM for his laptop. He would like the .emacs file from his desktop imported to his laptop VM. Every time I replace the original .emacs file contents with his original I get the following error (upon opening a terminal and typing: emacs):

"An error has occurred while loading '/home/david/.emacs'

Invalid read syntax: ") or . in a vector"

There is a list of things that comes before this error, and a small suggestion to run '-debug-init' after it. I've been working on this off and on for awhile now, but haven't made any breakthroughs. Any help or insight would be most appreciated.

Regards,

David
UMICH Chemistry IT

[-- Attachment #2: Type: text/html, Size: 3000 bytes --]

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

* Re: Help
  2010-01-05 16:17 Help Rhey, David
@ 2010-01-05 19:11 ` Tassilo Horn
  0 siblings, 0 replies; 61+ messages in thread
From: Tassilo Horn @ 2010-01-05 19:11 UTC (permalink / raw)
  To: help-gnu-emacs

"Rhey, David" <drhey@umich.edu> writes:

Hi David,

> "An error has occurred while loading '/home/david/.emacs'
>
> Invalid read syntax: ") or . in a vector"
>
> There is a list of things that comes before this error,

Then poste them, and if possible make that .emacs available, if there
are no private things like passwords in them.

> and a small suggestion to run '-debug-init' after it.

Then do exactly that: emacs --debug-init

You'll get a backtrace, which should point you to the offending form.

Bye,
Tassilo





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

* Re: Help
       [not found] <mailman.771.1263114721.18930.help-gnu-emacs@gnu.org>
@ 2010-01-10  9:57 ` Cecil Westerhof
  2010-01-10 22:36   ` Help Tim X
  0 siblings, 1 reply; 61+ messages in thread
From: Cecil Westerhof @ 2010-01-10  9:57 UTC (permalink / raw)
  To: help-gnu-emacs

"Rhey, David" <drhey@umich.edu> writes:

> There is a list of things that comes before this error, and a small suggestion
> to run ??debug-init? after it. I?ve been working on this off and on for awhile
> now, but haven?t made any breakthroughs. Any help or insight would be most
> appreciated.

What I always find useful when debugging -and that is what you need to
do- is commenting things out.
I just would comment almost everything out and then start Emacs. If it
goes alright, there is no problem with that. Then uncomment something,
etc. When you know which code gives the problem, it is easier to solve.
And if you can not solve it, you can 'exactly' tell what the problem is
and it is easier for the people here to solve it.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


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

* Re: Help
  2010-01-10  9:57 ` Help Cecil Westerhof
@ 2010-01-10 22:36   ` Tim X
  2010-01-20 16:52     ` Help Matt Proud
  0 siblings, 1 reply; 61+ messages in thread
From: Tim X @ 2010-01-10 22:36 UTC (permalink / raw)
  To: help-gnu-emacs

Cecil Westerhof <Cecil@decebal.nl> writes:

> "Rhey, David" <drhey@umich.edu> writes:
>
>> There is a list of things that comes before this error, and a small suggestion
>> to run ??debug-init? after it. I?ve been working on this off and on for awhile
>> now, but haven?t made any breakthroughs. Any help or insight would be most
>> appreciated.
>
> What I always find useful when debugging -and that is what you need to
> do- is commenting things out.
> I just would comment almost everything out and then start Emacs. If it
> goes alright, there is no problem with that. Then uncomment something,
> etc. When you know which code gives the problem, it is easier to solve.
> And if you can not solve it, you can 'exactly' tell what the problem is
> and it is easier for the people here to solve it.

When you have an error in a .emacs file, especially if its a very large
one, I find the following useful. 

1. Run with --debug-init. This will provide a backtrace which is often
enough to find the offending line. 

2. If that doesn't help, a 'binary search' approach is often helpful.
Rather than commenting out all the lines, put a couple of message lines
in. Start with a line at around half way in the file i.e.

(Message "Got to checkpoint 1")

The error  will either be in the first half or the second half. So, next
time you start emacs, check the messages buffer. If your message is in
there, you know your error is in the second half of the file, otherwise,
its in the first half. 

Once you have narrowed it down to which half, put another message
halfway in that half i.e.

(message "Got to checkpoint 2)

Keep repeating the process until you narrow down to the command with the
error. 

Another thing I do to make management of my .emacs easier is that I
break of related functionality into its own file. I put all these files
into a directory and add that directory to the emacs load-path. Each
file ends with a 'provides' line. I then just have 'require' lines in my
.emacs. For example, I have all my org mode stuff in a file called
tx-org.el. The last line of that file is

(provide 'tx-org)

In my .emacs I have a couple of lines at the top which set my private
elisp directories and then I have something like 

(require 'tx-org)

I find this helps prevent my .emacs from becoming to large and clutterd
and I can add/remove related config settings just by
commenting/uncommenting one line in my .emacs. Another nice side effect
is that when I do have an error and I run debug-init, it usually clearly
indicates which of my config files the error is in, making it quick to
track down. 

Tim

-- 
tcross (at) rapttech dot com dot au


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

* Re: Help
  2010-01-10 22:36   ` Help Tim X
@ 2010-01-20 16:52     ` Matt Proud
  0 siblings, 0 replies; 61+ messages in thread
From: Matt Proud @ 2010-01-20 16:52 UTC (permalink / raw)
  To: help-gnu-emacs

This is an especially good idea.  I declared .emacs bankruptcy about
two years ago, refactored for configuration and third-party imports
into separate files, and never turned back.

Another good tip is to put your Emacs configuration directory into
version control---e.g., Git.  If you're dilligent about keeping good
comments in revision logs, you could just roll back to other dates
when things go South.  I declared general dot-file bankruptcy and put
all my major ones in Git a while back.  It makes life so simple
between work, my laptop, and my desktop, too.

Good luck!

On Jan 10, 2:36 pm, Tim X <t...@nospam.dev.null> wrote:
> Cecil Westerhof <Ce...@decebal.nl> writes:
> > "Rhey, David" <dr...@umich.edu> writes:
>
> >> There is a list of things that comes before this error, and a small suggestion
> >> to run ??debug-init? after it. I?ve been working on this off and on for awhile
> >> now, but haven?t made any breakthroughs. Any help or insight would be most
> >> appreciated.
>
> > What I always find useful when debugging -and that is what you need to
> > do- is commenting things out.
> > I just would comment almost everything out and then start Emacs. If it
> > goes alright, there is no problem with that. Then uncomment something,
> > etc. When you know which code gives the problem, it is easier to solve.
> > And if you can not solve it, you can 'exactly' tell what the problem is
> > and it is easier for the people here to solve it.
>
> When you have an error in a .emacs file, especially if its a very large
> one, I find the following useful.
>
> 1. Run with --debug-init. This will provide a backtrace which is often
> enough to find the offending line.
>
> 2. If that doesn't help, a 'binary search' approach is often helpful.
> Rather than commenting out all the lines, put a couple of message lines
> in. Start with a line at around half way in the file i.e.
>
> (Message "Got to checkpoint 1")
>
> The error  will either be in the first half or the second half. So, next
> time you start emacs, check the messages buffer. If your message is in
> there, you know your error is in the second half of the file, otherwise,
> its in the first half.
>
> Once you have narrowed it down to which half, put another message
> halfway in that half i.e.
>
> (message "Got to checkpoint 2)
>
> Keep repeating the process until you narrow down to the command with the
> error.
>
> Another thing I do to make management of my .emacs easier is that I
> break of related functionality into its own file. I put all these files
> into a directory and add that directory to the emacs load-path. Each
> file ends with a 'provides' line. I then just have 'require' lines in my
> .emacs. For example, I have all my org mode stuff in a file called
> tx-org.el. The last line of that file is
>
> (provide 'tx-org)
>
> In my .emacs I have a couple of lines at the top which set my private
> elisp directories and then I have something like
>
> (require 'tx-org)
>
> I find this helps prevent my .emacs from becoming to large and clutterd
> and I can add/remove related config settings just by
> commenting/uncommenting one line in my .emacs. Another nice side effect
> is that when I do have an error and I run debug-init, it usually clearly
> indicates which of my config files the error is in, making it quick to
> track down.
>
> Tim
>
> --
> tcross (at) rapttech dot com dot au



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

* help
@ 2014-09-02 16:07 Moritz Kiefer
  2014-10-12 12:10 ` help Bastien
  0 siblings, 1 reply; 61+ messages in thread
From: Moritz Kiefer @ 2014-09-02 16:07 UTC (permalink / raw)
  To: emacs-orgmode

help

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

* Re: help
  2014-09-02 16:07 help Moritz Kiefer
@ 2014-10-12 12:10 ` Bastien
  0 siblings, 0 replies; 61+ messages in thread
From: Bastien @ 2014-10-12 12:10 UTC (permalink / raw)
  To: Moritz Kiefer; +Cc: emacs-orgmode

Moritz Kiefer <moritz.kiefer@gmail.com> writes:

> help

You're being a bit brief, perhaps you could go into detail.

-- 
 M-x emacs-doctor RET

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

* help
@ 2015-09-25  7:18 ss
  2015-09-25 11:00 ` help tomas
  0 siblings, 1 reply; 61+ messages in thread
From: ss @ 2015-09-25  7:18 UTC (permalink / raw)
  To: help-gnu-emacs

emacs version 24.3,   OS: ubuntu
I put the file nim-mode.el  in the folder: ~/.emacs.d/nim
then I configure the file ~/.emacs  as foloows:
(add-to-list 'load-path "~/.emacs.d/nim")
(require 'nim-mode)


but the emacs always said that can't load file, 
I don't know what I should do, 
Can you give me some help, thank you.




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

* Re: help
  2015-09-25  7:18 help ss
@ 2015-09-25 11:00 ` tomas
  2015-09-27 17:21   ` help Artur Malabarba
  0 siblings, 1 reply; 61+ messages in thread
From: tomas @ 2015-09-25 11:00 UTC (permalink / raw)
  To: ss; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Sep 25, 2015 at 03:18:05PM +0800, ss wrote:
> emacs version 24.3,   OS: ubuntu
> I put the file nim-mode.el  in the folder: ~/.emacs.d/nim
> then I configure the file ~/.emacs  as foloows:
> (add-to-list 'load-path "~/.emacs.d/nim")
> (require 'nim-mode)

Try just adding the directory to your load path, i.e.:

  (add-to-list 'load-path "~/.emacs.d")

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlYFKWYACgkQBcgs9XrR2kaXQgCePcq/xKUuSNW3KJWR+IvJN0Pe
FMsAn3UG2UIMjflrmWuCF7mS1nOHVo5a
=i8HJ
-----END PGP SIGNATURE-----



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

* Re: help
       [not found] <mailman.1794.1443178478.19560.help-gnu-emacs@gnu.org>
@ 2015-09-25 11:07 ` Joost Kremers
  0 siblings, 0 replies; 61+ messages in thread
From: Joost Kremers @ 2015-09-25 11:07 UTC (permalink / raw)
  To: help-gnu-emacs

<https://melpa.org/#/>

EN:SiS(9)
ss wrote:
> emacs version 24.3,   OS: ubuntu
> I put the file nim-mode.el  in the folder: ~/.emacs.d/nim
> then I configure the file ~/.emacs  as foloows:
> (add-to-list 'load-path "~/.emacs.d/nim")
> (require 'nim-mode)
>
>
> but the emacs always said that can't load file, 
> I don't know what I should do, 
> Can you give me some help, thank you.


You're probably much better off installing nim-mode through Melpa:

-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht


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

* Re: help
  2015-09-25 11:00 ` help tomas
@ 2015-09-27 17:21   ` Artur Malabarba
  2015-09-27 17:49     ` help Marcin Borkowski
  0 siblings, 1 reply; 61+ messages in thread
From: Artur Malabarba @ 2015-09-27 17:21 UTC (permalink / raw)
  To: tomas; +Cc: help-gnu-emacs, ss

> Try just adding the directory to your load path, i.e.:
>
>   (add-to-list 'load-path "~/.emacs.d")

Never do this, it's just going to cause you headaches. (And it's not
going to solve the problem)

There's probably something else going on. I recommend just following
Joost's suggestion of installing the mode from Melpa.



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

* Re: help
  2015-09-27 17:21   ` help Artur Malabarba
@ 2015-09-27 17:49     ` Marcin Borkowski
  2015-09-27 18:28       ` help Artur Malabarba
  0 siblings, 1 reply; 61+ messages in thread
From: Marcin Borkowski @ 2015-09-27 17:49 UTC (permalink / raw)
  To: bruce.connor.am; +Cc: help-gnu-emacs, ss


On 2015-09-27, at 19:21, Artur Malabarba <bruce.connor.am@gmail.com> wrote:

>> Try just adding the directory to your load path, i.e.:
>>
>>   (add-to-list 'load-path "~/.emacs.d")
>
> Never do this, it's just going to cause you headaches. (And it's not
> going to solve the problem)

Out of curiosity: what kind of headaches?  I don't have such setting in
my Emacs, and I don't plan to, but it looks rather benign.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

* Re: help
  2015-09-27 17:49     ` help Marcin Borkowski
@ 2015-09-27 18:28       ` Artur Malabarba
  2015-09-27 20:02         ` help Marcin Borkowski
  0 siblings, 1 reply; 61+ messages in thread
From: Artur Malabarba @ 2015-09-27 18:28 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: help-gnu-emacs, ss

Some packages create files in that folder with the .el extension. If
you add it to your load-path they might shadow actual source files.
Emacs will warn you if it detects you're doing that.

2015-09-27 18:49 GMT+01:00 Marcin Borkowski <mbork@mbork.pl>:
>
> On 2015-09-27, at 19:21, Artur Malabarba <bruce.connor.am@gmail.com> wrote:
>
>>> Try just adding the directory to your load path, i.e.:
>>>
>>>   (add-to-list 'load-path "~/.emacs.d")
>>
>> Never do this, it's just going to cause you headaches. (And it's not
>> going to solve the problem)
>
> Out of curiosity: what kind of headaches?  I don't have such setting in
> my Emacs, and I don't plan to, but it looks rather benign.
>
> Best,
>
> --
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Faculty of Mathematics and Computer Science
> Adam Mickiewicz University



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

* Re: help
  2015-09-27 18:28       ` help Artur Malabarba
@ 2015-09-27 20:02         ` Marcin Borkowski
  2015-09-28  1:37           ` help Kaushal Modi
  0 siblings, 1 reply; 61+ messages in thread
From: Marcin Borkowski @ 2015-09-27 20:02 UTC (permalink / raw)
  To: tomas, help-gnu-emacs, ss


On 2015-09-27, at 20:28, Artur Malabarba <bruce.connor.am@gmail.com> wrote:

> Some packages create files in that folder with the .el extension. If
> you add it to your load-path they might shadow actual source files.
> Emacs will warn you if it detects you're doing that.

I see.  Thanks!

And how does Emacs _know_ when to warn me?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



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

* Re: help
  2015-09-27 20:02         ` help Marcin Borkowski
@ 2015-09-28  1:37           ` Kaushal Modi
  2015-09-28 11:03             ` help Artur Malabarba
  0 siblings, 1 reply; 61+ messages in thread
From: Kaushal Modi @ 2015-09-28  1:37 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: help-gnu-emacs, ss

It warns you when it sees `~/.emacs.d/` in the `load-path`.
On Sep 27, 2015 4:03 PM, "Marcin Borkowski" <mbork@mbork.pl> wrote:

>
> On 2015-09-27, at 20:28, Artur Malabarba <bruce.connor.am@gmail.com>
> wrote:
>
> > Some packages create files in that folder with the .el extension. If
> > you add it to your load-path they might shadow actual source files.
> > Emacs will warn you if it detects you're doing that.
>
> I see.  Thanks!
>
> And how does Emacs _know_ when to warn me?
>
> Best,
>
> --
> Marcin Borkowski
> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
> Faculty of Mathematics and Computer Science
> Adam Mickiewicz University
>
>


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

* Re: help
  2015-09-28  1:37           ` help Kaushal Modi
@ 2015-09-28 11:03             ` Artur Malabarba
  0 siblings, 0 replies; 61+ messages in thread
From: Artur Malabarba @ 2015-09-28 11:03 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: ss, help-gnu-emacs

> It warns you when it sees `~/.emacs.d/` in the `load-path`.

Indeed. And I _think_ it checks for that at the end of startup.

> On Sep 27, 2015 4:03 PM, "Marcin Borkowski" <mbork@mbork.pl> wrote:
>
>>
>> On 2015-09-27, at 20:28, Artur Malabarba <bruce.connor.am@gmail.com>
>> wrote:
>>
>> > Some packages create files in that folder with the .el extension. If
>> > you add it to your load-path they might shadow actual source files.
>> > Emacs will warn you if it detects you're doing that.
>>
>> I see.  Thanks!
>>
>> And how does Emacs _know_ when to warn me?
>>
>> Best,
>>
>> --
>> Marcin Borkowski
>> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
>> Faculty of Mathematics and Computer Science
>> Adam Mickiewicz University
>>
>>



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

* Help
       [not found] <mailman.80.1454259641.17556.emacs-orgmode@gnu.org>
@ 2016-01-31 21:51 ` Heartsayer
  0 siblings, 0 replies; 61+ messages in thread
From: Heartsayer @ 2016-01-31 21:51 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org



> On Jan 31, 2016, at 10:00, emacs-orgmode-request@gnu.org wrote:
> 
> Send Emacs-orgmode mailing list submissions to
>    emacs-orgmode@gnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.gnu.org/mailman/listinfo/emacs-orgmode
> or, via email, send a message with subject or body 'help' to
>    emacs-orgmode-request@gnu.org
> 
> You can reach the person managing the list at
>    emacs-orgmode-owner@gnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Emacs-orgmode digest..."
> Today's Topics:
> 
>   1. Re: org-habit: "++" render wrong color (Nicolas Goaziou)
>   2. Re: Cannot build agenda anymore. (Nicolas Goaziou)
>   3. Re: Bug: Habits will not correctly reset timestamp [8.3.2
>      (release_8.3.2-570-gc17fcc @
>      /home/swflint/.emacs.d/org-mode/lisp/)] (Nicolas Goaziou)
>   4. Re: org-player and switch to lexical binding in org.el
>      (Nicolas Goaziou)
>   5. hyperlinks stopped working (Russell L. Carter)
>   6. Re: hyperlinks stopped working (Russell L. Carter)
>   7. Re: hyperlinks stopped working (Titus von der Malsburg)
>   8. Re: hyperlinks stopped working (Russell L. Carter)
>   9. MobileOrg does not sync with local Android calendar (cschr)
>  10. [babel] is there a chance to split arguments in src block
>      calls or noweb syntax (O.Hamann)
>  11. Re: Latex command compilation in HTML export (Eric S Fraga)
>  12. Re: Export not triggering caching (Eric S Fraga)
>  13. Re: "atomic knowledge" modeling tool (Eric S Fraga)
>  14. Re: MobileOrg does not sync with local Android calendar
>      (Eric S Fraga)
>  15. Re: status of mobile (Android) (Eric S Fraga)
>  16. Re: MobileOrg does not sync with local Android calendar
>      (Ramon Diaz-Uriarte)
>  17. Re: status of mobile (Android) (Ramon Diaz-Uriarte)
>  18. Re: "atomic knowledge" modeling tool (Ramon Diaz-Uriarte)
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>

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

* Help
@ 2016-05-07 15:07 庄 子恒
  2016-05-08  4:03 ` Help Kaushal Modi
                   ` (2 more replies)
  0 siblings, 3 replies; 61+ messages in thread
From: 庄 子恒 @ 2016-05-07 15:07 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hi GNU,

I wanna ask a question about init.el. I write Elisp codes in it, but Emacs Seems don,t load it. Why?

And my os is Windows10. I have run a<http://apm.es>ppm.exe and have add a HOME path.

Best,

XXX

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

* Re: Help
  2016-05-07 15:07 Help 庄 子恒
@ 2016-05-08  4:03 ` Kaushal Modi
  2016-05-08  7:12   ` Help Guillermo Vaya
  2016-05-08 13:39 ` Help John Mastro
  2016-05-09  0:47 ` Help Emanuel Berg
  2 siblings, 1 reply; 61+ messages in thread
From: Kaushal Modi @ 2016-05-08  4:03 UTC (permalink / raw)
  To: 庄 子恒, help-gnu-emacs@gnu.org

I have no idea what "<http://apm.es>ppm.exe" is. I simply run runemacs.exe
on Windows 7/10.
Make sure that you have init.el file inside the .emacs.d folder in your
HOME path. Also there should not be a .emacs file in the HOME path.

On Sat, May 7, 2016 at 5:59 PM 庄 子恒 <saogong123456@outlook.com> wrote:

> Hi GNU,
>
> I wanna ask a question about init.el. I write Elisp codes in it, but Emacs
> Seems don,t load it. Why?
>
> And my os is Windows10. I have run a<http://apm.es>ppm.exe and have add a
> HOME path.
>
> Best,
>
> XXX
>
-- 

-- 
Kaushal Modi


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

* Re: Help
  2016-05-08  4:03 ` Help Kaushal Modi
@ 2016-05-08  7:12   ` Guillermo Vaya
  0 siblings, 0 replies; 61+ messages in thread
From: Guillermo Vaya @ 2016-05-08  7:12 UTC (permalink / raw)
  To: Kaushal Modi, 庄 子恒, help-gnu-emacs@gnu.org

Maybe you compiled your init.el file. If so it would take precedence over
your .el file

El dom., 8 de mayo de 2016 6:03, Kaushal Modi <kaushal.modi@gmail.com>
escribió:

> I have no idea what "<http://apm.es>ppm.exe" is. I simply run runemacs.exe
> on Windows 7/10.
> Make sure that you have init.el file inside the .emacs.d folder in your
> HOME path. Also there should not be a .emacs file in the HOME path.
>
> On Sat, May 7, 2016 at 5:59 PM 庄 子恒 <saogong123456@outlook.com> wrote:
>
> > Hi GNU,
> >
> > I wanna ask a question about init.el. I write Elisp codes in it, but
> Emacs
> > Seems don,t load it. Why?
> >
> > And my os is Windows10. I have run a<http://apm.es>ppm.exe and have add
> a
> > HOME path.
> >
> > Best,
> >
> > XXX
> >
> --
>
> --
> Kaushal Modi
>


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

* Re: Help
  2016-05-07 15:07 Help 庄 子恒
  2016-05-08  4:03 ` Help Kaushal Modi
@ 2016-05-08 13:39 ` John Mastro
  2016-05-09  0:47 ` Help Emanuel Berg
  2 siblings, 0 replies; 61+ messages in thread
From: John Mastro @ 2016-05-08 13:39 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org; +Cc: 庄 子恒

Hello,

> On May 7, 2016, at 8:07 AM, 庄 子恒 <saogong123456@outlook.com> wrote:
> 
> Hi GNU,
> 
> I wanna ask a question about init.el. I write Elisp codes in it, but Emacs Seems don,t load it. Why?
> 
> And my os is Windows10. I have run a<http://apm.es>ppm.exe and have add a HOME path.

My guess is that Emacs is failing to find your init file.  If you haven't 
already, check out this node[1] in the manual. It explains how the init 
file is located. 

Overall, my recommendation would be to explicitly set the HOME
environment variable. Many other GNU programs will also check
HOME.

[1] https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Location-of-init-file.html

-- 
john


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

* Re: Help
  2016-05-07 15:07 Help 庄 子恒
  2016-05-08  4:03 ` Help Kaushal Modi
  2016-05-08 13:39 ` Help John Mastro
@ 2016-05-09  0:47 ` Emanuel Berg
  2016-05-09  8:42   ` Help Dejan Jocic
  2 siblings, 1 reply; 61+ messages in thread
From: Emanuel Berg @ 2016-05-09  0:47 UTC (permalink / raw)
  To: help-gnu-emacs

... <saogong123456@outlook.com> writes:

> I wanna ask a question about init.el. I write Elisp
> codes in it, but Emacs Seems don,t load it. Why?

Are you sure that is the file that is being read on
Emacs startup? In the Unix world, the file is .emacs,
because typically every program has an init file (or
several), and many end up in the user's home
directory, so they can't be called "init". Not even in
this case with the Elisp extention, as other Emacs
components would also be ".el"!

But you can still call it whatever you want and just
load it from .emacs - set the `load-path' there as
well so Emacs will know where to look!

But even so calling it "init" is perhaps not as good
as calling it something that describes what it
contains - "keybindings.el", for example, if that is
what it is.

Good luck!

Come back with more questions if you don't get it
to work.

PS. Another thing - try (succeed) to write a subject
    line which somehow describes your problem - this
    doesn't have to be super-elaborate, just "Emacs
    can't find init.el on startup" or something.

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 26 Blogomatic articles -                   




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

* Re: Help
  2016-05-09  0:47 ` Help Emanuel Berg
@ 2016-05-09  8:42   ` Dejan Jocic
  2016-05-09  9:30     ` Help Bob Proulx
  2016-05-14  3:49     ` Help Emanuel Berg
  0 siblings, 2 replies; 61+ messages in thread
From: Dejan Jocic @ 2016-05-09  8:42 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg <embe8573@student.uu.se> writes:

> ... <saogong123456@outlook.com> writes:
>
>> I wanna ask a question about init.el. I write Elisp
>> codes in it, but Emacs Seems don,t load it. Why?
>
> Are you sure that is the file that is being read on
> Emacs startup? In the Unix world, the file is .emacs,
> because typically every program has an init file (or
> several), and many end up in the user's home
> directory, so they can't be called "init". Not even in
> this case with the Elisp extention, as other Emacs
> components would also be ".el"!
>
> But you can still call it whatever you want and just
> load it from .emacs - set the `load-path' there as
> well so Emacs will know where to look!
>
> But even so calling it "init" is perhaps not as good
> as calling it something that describes what it
> contains - "keybindings.el", for example, if that is
> what it is.
>
> Good luck!
>
> Come back with more questions if you don't get it
> to work.
>
> PS. Another thing - try (succeed) to write a subject
>     line which somehow describes your problem - this
>     doesn't have to be super-elaborate, just "Emacs
>     can't find init.el on startup" or something.

In my case, it does not matter, it does not load it from
either ~/.emacs nor from ~/.emacs.d/init.el. It did load
it from ~/.emacs on my previous installs, both Debian
Wheezy and Debian Jessie with Gnome 3 as DE. Then, for
some experimenting, I've did fresh install of Debian
Jessie with KDE and it did not work. I'm now back on
Gnome 3, but it still does not work. I must do eval-buffer
on it every time after start.
There is one more annoying thing with it. When I start
Emacs with shortcut keys, it reads my ~/.Xresources.
But when I start it from that Gnome 3 dash where favorite
apps are, it does not. Xterm reads same ~/.Xresources in
both cases.




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

* Re: Help
  2016-05-09  8:42   ` Help Dejan Jocic
@ 2016-05-09  9:30     ` Bob Proulx
  2016-05-09 10:03       ` Help Dejan Jocic
  2016-05-14  3:49     ` Help Emanuel Berg
  1 sibling, 1 reply; 61+ messages in thread
From: Bob Proulx @ 2016-05-09  9:30 UTC (permalink / raw)
  To: help-gnu-emacs

Dejan Jocic wrote:
> ... it does not load it from either ~/.emacs nor from
> ~/.emacs.d/init.el.

This sounds very odd.  It should load ~/.emacs at the least.  If it
were me I would put a message in the file to verify this.  Right at
the top I would put this.

(message "[reading file ~/.emacs]")     ; -*-emacs-lisp-*-

> It did load it from ~/.emacs on my previous
> installs, both Debian Wheezy and Debian Jessie with Gnome 3 as
> DE. Then, for some experimenting, I've did fresh install of Debian
> Jessie with KDE and it did not work. I'm now back on Gnome 3, but it
> still does not work. I must do eval-buffer on it every time after
> start.

Exactly how are you starting emacs?  I assume by what you say that you
are using the X graphical version and not the terminal version.  Have
you tried starting it from a command line prompt?  Does it report any
errors to the terminal?

> There is one more annoying thing with it. When I start Emacs
> with shortcut keys, it reads my ~/.Xresources.  But when I start it
> from that Gnome 3 dash where favorite apps are, it does not. Xterm
> reads same ~/.Xresources in both cases.

This doesn't actually follow.  The ~/.Xresources is not actually read
by any X application.  Instead the window manager uses 'xrdb' to load
the contents into the X resource database.  X programs then
subsequently query that database.  You can ump the database with:

  xrdb -q

Perhaps in one case versus the other your DE isn't loading the file?
Or perhaps the "name" is being changed and therefore not matching the
stored resource names?

Bob



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

* Re: Help
  2016-05-09  9:30     ` Help Bob Proulx
@ 2016-05-09 10:03       ` Dejan Jocic
  2016-05-10  5:36         ` Help Bob Proulx
                           ` (2 more replies)
  0 siblings, 3 replies; 61+ messages in thread
From: Dejan Jocic @ 2016-05-09 10:03 UTC (permalink / raw)
  To: help-gnu-emacs

Bob Proulx <bob@proulx.com> writes:

> Dejan Jocic wrote:
>> ... it does not load it from either ~/.emacs nor from
>> ~/.emacs.d/init.el.
>
> This sounds very odd.  It should load ~/.emacs at the least.  If it
> were me I would put a message in the file to verify this.  Right at
> the top I would put this.
>
> (message "[reading file ~/.emacs]")     ; -*-emacs-lisp-*-

No need for that, it is obvious that it does not read it. For example, I
have some custom appearance and added Melpa in my init file. It does not
"see" it on start, but it does after I do M-x eval-buffer on init file.

>> It did load it from ~/.emacs on my previous
>> installs, both Debian Wheezy and Debian Jessie with Gnome 3 as
>> DE. Then, for some experimenting, I've did fresh install of Debian
>> Jessie with KDE and it did not work. I'm now back on Gnome 3, but it
>> still does not work. I must do eval-buffer on it every time after
>> start.
>
> Exactly how are you starting emacs?  I assume by what you say that you
> are using the X graphical version and not the terminal version.  Have
> you tried starting it from a command line prompt?  Does it report any
> errors to the terminal?

I'm starting it both in terminal and in X graphical version. Result is
same, it doesn not read init file, no matter which one i choose to
use. So, neither ~/.emacs nor ~/emacs.d/init.el work. Of course, I do
not have both in same time. Btw, Emacs seems to prefere
~/emacs.d/init.el cause that is where it autosaves. It autosaved some
stuff there even when i had ~/.emacs. Think that it did not happen beffore.


>> There is one more annoying thing with it. When I start Emacs
>> with shortcut keys, it reads my ~/.Xresources.  But when I start it
>> from that Gnome 3 dash where favorite apps are, it does not. Xterm
>> reads same ~/.Xresources in both cases.
>
> This doesn't actually follow.  The ~/.Xresources is not actually read
> by any X application.  Instead the window manager uses 'xrdb' to load
> the contents into the X resource database.  X programs then
> subsequently query that database.  You can ump the database with:
>
>   xrdb -q
>
> Perhaps in one case versus the other your DE isn't loading the file?
> Or perhaps the "name" is being changed and therefore not matching the
> stored resource names?
>
> Bob

I did all that needs to be done with xrdb, checked and double checked,
then tripple checked. Result is same, for Xterm it does not matter
how I start it, for Emacs it does.




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

* Re: Help
  2016-05-09 10:03       ` Help Dejan Jocic
@ 2016-05-10  5:36         ` Bob Proulx
  2016-05-10  6:09           ` Help Dejan Jocic
  2016-05-10 23:17         ` Help Emanuel Berg
  2016-05-11  0:31         ` Help John Mastro
  2 siblings, 1 reply; 61+ messages in thread
From: Bob Proulx @ 2016-05-10  5:36 UTC (permalink / raw)
  To: help-gnu-emacs

Dejan Jocic wrote:
> Bob Proulx writes:
> > Exactly how are you starting emacs?  I assume by what you say that you
> > are using the X graphical version and not the terminal version.  Have
> > you tried starting it from a command line prompt?  Does it report any
> > errors to the terminal?
> 
> I'm starting it both in terminal and in X graphical version. Result is
> same, it doesn not read init file, no matter which one i choose to
> use. So, neither ~/.emacs nor ~/emacs.d/init.el work. Of course, I do
> not have both in same time. Btw, Emacs seems to prefere
> ~/emacs.d/init.el cause that is where it autosaves. It autosaved some
> stuff there even when i had ~/.emacs. Think that it did not happen beffore.

I can only suggest to make the problem as simple as you possibly can.
Because the details here don't follow what is expected.  Make things
as simple as possible.  Double check all of the normal things in case
the normal things have become broken.  Question the fundamentals.

Check that $HOME is correct and exported.  Check that $USER is
correct.  Try forcing the issue with:

  emacs -u $USER

What you are reporting doesn't make sense and most of us would say
that "it can't happen".  Since you say it IS happening to you then it
must be that something is actively breaking it in your environment.
You will have to dig into it and figure it out.  This isn't a
systematic bug.  It isn't reproducible by others.  It must be
something specific to your environment.  Which, unfortunately for you,
means that you are the only one who can debug it because it is your
system that is broken and none of us are you.

Good luck!
Bob



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

* Re: Help
  2016-05-10  5:36         ` Help Bob Proulx
@ 2016-05-10  6:09           ` Dejan Jocic
  0 siblings, 0 replies; 61+ messages in thread
From: Dejan Jocic @ 2016-05-10  6:09 UTC (permalink / raw)
  To: help-gnu-emacs

Bob Proulx <bob@proulx.com> writes:

> Dejan Jocic wrote:
>> Bob Proulx writes:
>> > Exactly how are you starting emacs?  I assume by what you say that you
>> > are using the X graphical version and not the terminal version.  Have
>> > you tried starting it from a command line prompt?  Does it report any
>> > errors to the terminal?
>> 
>> I'm starting it both in terminal and in X graphical version. Result is
>> same, it doesn not read init file, no matter which one i choose to
>> use. So, neither ~/.emacs nor ~/emacs.d/init.el work. Of course, I do
>> not have both in same time. Btw, Emacs seems to prefere
>> ~/emacs.d/init.el cause that is where it autosaves. It autosaved some
>> stuff there even when i had ~/.emacs. Think that it did not happen beffore.
>
> I can only suggest to make the problem as simple as you possibly can.
> Because the details here don't follow what is expected.  Make things
> as simple as possible.  Double check all of the normal things in case
> the normal things have become broken.  Question the fundamentals.
>
> Check that $HOME is correct and exported.  Check that $USER is
> correct.  Try forcing the issue with:
>
>   emacs -u $USER
>
> What you are reporting doesn't make sense and most of us would say
> that "it can't happen".  Since you say it IS happening to you then it
> must be that something is actively breaking it in your environment.
> You will have to dig into it and figure it out.  This isn't a
> systematic bug.  It isn't reproducible by others.  It must be
> something specific to your environment.  Which, unfortunately for you,
> means that you are the only one who can debug it because it is your
> system that is broken and none of us are you.
>
> Good luck!
> Bob

Yes, "it can't happen" describes this well :) Completely illogical
thing, in which worst part is that it is only Emacs, everything else
works as expected, as far as I can see it. Anyway, thank you for ideas
and good wishes.




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

* Re: Help
  2016-05-09 10:03       ` Help Dejan Jocic
  2016-05-10  5:36         ` Help Bob Proulx
@ 2016-05-10 23:17         ` Emanuel Berg
  2016-05-11  8:57           ` Help Dejan Jocic
  2016-05-11  0:31         ` Help John Mastro
  2 siblings, 1 reply; 61+ messages in thread
From: Emanuel Berg @ 2016-05-10 23:17 UTC (permalink / raw)
  To: help-gnu-emacs

Dejan Jocic <jodejka@gmail.com> writes:

>> This sounds very odd. It should load ~/.emacs at
>> the least. If it were me I would put a message in
>> the file to verify this. Right at the top I would
>> put this. (message "[reading file ~/.emacs]") ;
>> -*-emacs-lisp-*-
>
> No need for that, it is obvious that it does not
> read it. For example, I have some custom appearance
> and added Melpa in my init file. It does not "see"
> it on start, but it does after I do M-x eval-buffer
> on init file.

Try instead to find out what files it *does* read.
This can help you pinpoint a user inconsistency
problem if you learn some unexpected config files are
read instead. Use the man page to find out how to put
Emacs on red-alert and maximum verboseness and then
examine the log after startup.

> I'm starting it both in terminal and in X graphical
> version. Result is same, it doesn not read init
> file, no matter which one i choose to use. So,
> neither ~/.emacs nor ~/emacs.d/init.el work.
> Of course, I do not have both in same time. Btw,
> Emacs seems to prefere ~/emacs.d/init.el cause that
> is where it autosaves. It autosaved some stuff there
> even when i had ~/.emacs. Think that it did not
> happen beffore.

... didn't you say you were on Windows 10?

On a Unix system this sounds like a file, user, link,
or path problem.

The file: see if there isn't a byte-compiled version
(with an ".elc" extension) that gets loaded instead!
(And verify that you systems shows the correct time,
with 'date'.)

In the shell, run 'whoami' and 'echo $USER'.
Then check the `user-login-name' and
`user-real-login-name' variables in Emacs.

Also examine what happens when you type "emacs" -
track down the binary with 'type' (in bash) or
'whence' (in zsh) - if it is a link, track it further
with 'readlink -e LINK' - I have a zsh function to do
this all at once, if you happen to use zsh [1].

Last examine $PATH (left-to-right) and `load-path'.
Everything looks good? Can you load stuff from
~/.emacs.d/ with `load', for example? I don't think
Emacs needs `load-path' to find the initial init file
(whoa), but instead just uses HOME, but it can't hurt
to have them paths correct as well.

[1] http://user.it.uu.se/~embe8573/conf/.zsh/ide

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 26 Blogomatic articles -                   




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

* Re: Help
  2016-05-09 10:03       ` Help Dejan Jocic
  2016-05-10  5:36         ` Help Bob Proulx
  2016-05-10 23:17         ` Help Emanuel Berg
@ 2016-05-11  0:31         ` John Mastro
  2016-05-11  8:45           ` Help Dejan Jocic
  2 siblings, 1 reply; 61+ messages in thread
From: John Mastro @ 2016-05-11  0:31 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org; +Cc: Dejan Jocic

Dejan Jocic <jodejka@gmail.com> wrote:

> No need for that, it is obvious that it does not read it. For example, I
> have some custom appearance and added Melpa in my init file. It does not
> "see" it on start, but it does after I do M-x eval-buffer on init file.

What do you see if execute the following command in Emacs?

    C-h v user-init-file RET

You should see something like this:

    user-init-file is a variable defined in ‘C source code’.
    Its value is "~/.emacs.d/init.el"

    Documentation:
    File name, including directory, of user’s initialization file.
    If the file loaded had extension ‘.elc’, and the corresponding source file
    exists, this variable contains the name of source file, suitable for use
    by functions like ‘custom-save-all’ which edit the init file.
    While Emacs loads and evaluates the init file, value is the real name
    of the file, regardless of whether or not it has the ‘.elc’ extension.

If the value is different, we'll know Emacs is looking in the wrong
place for some reason (perhaps a site-wide customization?)

-- 
john



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

* Re: Help
  2016-05-11  0:31         ` Help John Mastro
@ 2016-05-11  8:45           ` Dejan Jocic
  0 siblings, 0 replies; 61+ messages in thread
From: Dejan Jocic @ 2016-05-11  8:45 UTC (permalink / raw)
  To: help-gnu-emacs

John Mastro <john.b.mastro@gmail.com> writes:

> Dejan Jocic <jodejka@gmail.com> wrote:
>
>> No need for that, it is obvious that it does not read it. For example, I
>> have some custom appearance and added Melpa in my init file. It does not
>> "see" it on start, but it does after I do M-x eval-buffer on init file.
>
> What do you see if execute the following command in Emacs?
>
>     C-h v user-init-file RET
>
> You should see something like this:
>
>     user-init-file is a variable defined in ‘C source code’.
>     Its value is "~/.emacs.d/init.el"
>
>     Documentation:
>     File name, including directory, of user’s initialization file.
>     If the file loaded had extension ‘.elc’, and the corresponding source file
>     exists, this variable contains the name of source file, suitable for use
>     by functions like ‘custom-save-all’ which edit the init file.
>     While Emacs loads and evaluates the init file, value is the real name
>     of the file, regardless of whether or not it has the ‘.elc’ extension.
>
> If the value is different, we'll know Emacs is looking in the wrong
> place for some reason (perhaps a site-wide customization?)

Well, I did found out why it does not load it. It is not exactly "why
not", rather "because of what". Looks like it all happens because of my
custom theme. I've installed solarized from Melpa and saved solarized-dark
as my theme on start. Now, when I know what Emacs can not see and by
putting it at the end of my .emacs file, it is all half ok. Emacs reads
my init file to the point where it comes to these:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ansi-color-names-vector
   ["#073642" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#657b83"])
 '(compilation-message-face (quote default))
 '(cua-global-mark-cursor-color "#2aa198")
 '(cua-normal-cursor-color "#839496")
 '(cua-overwrite-cursor-color "#b58900")
 '(cua-read-only-cursor-color "#859900")
 '(custom-enabled-themes (quote (solarized-dark)))
 '(custom-safe-themes
   (quote
    ("d677ef584c6dfc0697901a44b885cc18e206f05114c8a3b7fde674fce6180879" "8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
 '(fci-rule-color "#073642")
 '(highlight-changes-colors (quote ("#d33682" "#6c71c4")))
 '(highlight-symbol-colors
   (--map
    (solarized-color-blend it "#002b36" 0.25)
    (quote
     ("#b58900" "#2aa198" "#dc322f" "#6c71c4" "#859900" "#cb4b16" "#268bd2"))))
 '(highlight-symbol-foreground-color "#93a1a1")
 '(highlight-tail-colors
   (quote
    (("#073642" . 0)
     ("#546E00" . 20)
     ("#00736F" . 30)
     ("#00629D" . 50)
     ("#7B6000" . 60)
     ("#8B2C02" . 70)
     ("#93115C" . 85)
     ("#073642" . 100))))
 '(hl-bg-colors
   (quote
    ("#7B6000" "#8B2C02" "#990A1B" "#93115C" "#3F4D91" "#00629D" "#00736F" "#546E00")))
 '(hl-fg-colors
   (quote
    ("#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36")))
 '(magit-diff-use-overlays nil)
 '(nrepl-message-colors
   (quote
    ("#dc322f" "#cb4b16" "#b58900" "#546E00" "#B4C342" "#00629D" "#2aa198" "#d33682" "#6c71c4")))
 '(pos-tip-background-color "#073642")
 '(pos-tip-foreground-color "#93a1a1")
 '(smartrep-mode-line-active-bg (solarized-color-blend "#859900" "#073642" 0.2))
 '(term-default-bg-color "#002b36")
 '(term-default-fg-color "#839496")
 '(vc-annotate-background nil)
 '(vc-annotate-color-map
   (quote
    ((20 . "#dc322f")
     (40 . "#c85d17")
     (60 . "#be730b")
     (80 . "#b58900")
     (100 . "#a58e00")
     (120 . "#9d9100")
     (140 . "#959300")
     (160 . "#8d9600")
     (180 . "#859900")
     (200 . "#669b32")
     (220 . "#579d4c")
     (240 . "#489e65")
     (260 . "#399f7e")
     (280 . "#2aa198")
     (300 . "#2898af")
     (320 . "#2793ba")
     (340 . "#268fc6")
     (360 . "#268bd2"))))
 '(vc-annotate-very-old-color nil)
 '(weechat-color-list
   (quote
    (unspecified "#002b36" "#073642" "#990A1B" "#dc322f" "#546E00" "#859900" "#7B6000" "#b58900" "#00629D" "#268bd2" "#93115C" "#d33682" "#00736F" "#2aa198" "#839496" "#657b83")))
 '(xterm-color-names
   ["#073642" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#eee8d5"])
 '(xterm-color-names-bright
   ["#002b36" "#cb4b16" "#586e75" "#657b83" "#839496" "#6c71c4" "#93a1a1" "#fdf6e3"]))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

Thing is that there should be nothing wrong with that, because it reads
and loads it right  when I do eval-buffer on it. Also, there was much less
lines of that, before I've started to look for error. First few times,
Emacs did not autosave so much lines. For example, I did not see before
these lines for weechat-color-list, nor for xterm-color-names.I do not
have weechat installed anyway. Difference is that now it sees and reads
other parts of .emacs. Not that there is much more then this in it right
now:

;;for Melpa
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))

;;for Perl
(add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode))


Apologies if this is some kind of common knowledge for Emacs users, I'm
fairly new to Emacs and was using it just for some simple text editing,
gnus and bit of programming lessons till now. And my search around net
skills did not give me much to work with.




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

* Re: Help
  2016-05-10 23:17         ` Help Emanuel Berg
@ 2016-05-11  8:57           ` Dejan Jocic
  2016-05-14  3:52             ` Help Emanuel Berg
  0 siblings, 1 reply; 61+ messages in thread
From: Dejan Jocic @ 2016-05-11  8:57 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg <embe8573@student.uu.se> writes:

>
> ... didn't you say you were on Windows 10?
>

Original poster did say that. I saw that someone else is having problem
similar to mine and thought that it might be connected
somehow. Apologises for confusion and if this counts as thread
hijacking. Thought that this part from previous posts will explain it:

> In my case, it does not matter, it does not load it from
> either ~/.emacs nor from ~/.emacs.d/init.el. It did load
> it from ~/.emacs on my previous installs, both Debian
> Wheezy and Debian Jessie with Gnome 3 as DE. Then, for
> some experimenting, I've did fresh install of Debian
> Jessie with KDE and it did not work. I'm now back on
> Gnome 3, but it still does not work. I must do eval-buffer
> on it every time after start.
> There is one more annoying thing with it. When I start
> Emacs with shortcut keys, it reads my ~/.Xresources.
> But when I start it from that Gnome 3 dash where favorite
> apps are, it does not. Xterm reads same ~/.Xresources in
> both cases.




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

* Re: Help
  2016-05-09  8:42   ` Help Dejan Jocic
  2016-05-09  9:30     ` Help Bob Proulx
@ 2016-05-14  3:49     ` Emanuel Berg
  1 sibling, 0 replies; 61+ messages in thread
From: Emanuel Berg @ 2016-05-14  3:49 UTC (permalink / raw)
  To: help-gnu-emacs

Dejan Jocic <jodejka@gmail.com> writes:

> In my case, it does not matter, it does not load it
> from either ~/.emacs nor from ~/.emacs.d/init.el.
> It did load it from ~/.emacs on my previous
> installs, both Debian Wheezy and Debian Jessie with
> Gnome 3 as DE. Then, for some experimenting, I've
> did fresh install of Debian Jessie with KDE and it
> did not work. I'm now back on Gnome 3, but it still
> does not work. I must do eval-buffer on it every
> time after start. There is one more annoying thing
> with it. When I start Emacs with shortcut keys, it
> reads my ~/.Xresources. But when I start it from
> that Gnome 3 dash where favorite apps are, it does
> not. Xterm reads same ~/.Xresources in both cases.

OK, so you have Emacs configuration in .Xresources?
Perhaps something fails there...

As for the Gnome vs. KDE thing, why should that
influence the init files of a particular application?
If so, I don't like it!

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 29 Blogomatic articles -                   




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

* Re: Help
  2016-05-11  8:57           ` Help Dejan Jocic
@ 2016-05-14  3:52             ` Emanuel Berg
  0 siblings, 0 replies; 61+ messages in thread
From: Emanuel Berg @ 2016-05-14  3:52 UTC (permalink / raw)
  To: help-gnu-emacs

Dejan Jocic <jodejka@gmail.com> writes:

> Original poster did say that. I saw that someone
> else is having problem similar to mine and thought
> that it might be connected somehow. Apologises for
> confusion and if this counts as thread hijacking.

Aha!

Well, I suppose it counts, tho I don't know how well
booked this kinds of occurences are...

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 29 Blogomatic articles -                   




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

* help
@ 2023-01-13  2:43 josh parson
  2023-01-16  4:25 ` help Richard Stallman
  2023-01-16  5:20 ` help Jim Porter
  0 siblings, 2 replies; 61+ messages in thread
From: josh parson @ 2023-01-13  2:43 UTC (permalink / raw)
  To: emacs-devel

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

Hi, I'm Josh. I'm relatively new to open source development and wanted to
work on something I was passionate about (EMACs), I was wondering if there
were any small fixes/features that needed work.

Thank you,
Josh

[-- Attachment #2: Type: text/html, Size: 279 bytes --]

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

* Re: help
  2023-01-13  2:43 help josh parson
@ 2023-01-16  4:25 ` Richard Stallman
  2023-01-16  5:20 ` help Jim Porter
  1 sibling, 0 replies; 61+ messages in thread
From: Richard Stallman @ 2023-01-16  4:25 UTC (permalink / raw)
  To: josh parson; +Cc: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Hi, I'm Josh. I'm relatively new to open source development and wanted to
  > work on something I was passionate about (EMACs),

Thank you for being interested in contributing to GNU Emacs.
The main developers can suggest something to try implementing.

I should explain that we don't use the term "open source" to describe
what we are doing.  We call it "free software" -- free as in freedom.
A free program respects users' freedom; a nonfree program denies users
freedom.  See fsf.org/tedx for an introduction to the idea of the free
software movement, followed by
https://gnu.org/philosophy/free-software-even-more-important.html

"Open source" is a business-friendly offshoot of the free software
movement.  It dismissses the issue of computing freedom as a concern
and focuses on practical benefits such as technical progress.

If you contribute well to GNU Emacs, we won't ask you about your
philosophical views.  We'll simply appreciate your help.  But it's
important for you to know what this is all about.  Don't be surprised
if we have policies that diverge from what you're used to, because our
goals also diverge from what our society is used to.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





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

* Re: help
  2023-01-13  2:43 help josh parson
  2023-01-16  4:25 ` help Richard Stallman
@ 2023-01-16  5:20 ` Jim Porter
  1 sibling, 0 replies; 61+ messages in thread
From: Jim Porter @ 2023-01-16  5:20 UTC (permalink / raw)
  To: josh parson, emacs-devel

On 1/12/2023 6:43 PM, josh parson wrote:
> Hi, I'm Josh. I'm relatively new to open source development and wanted 
> to work on something I was passionate about (EMACs), I was wondering if 
> there were any small fixes/features that needed work.

The way I got started was simply by finding some things in Emacs that I 
wanted to do, but which didn't work right for me. I think it helps to 
start small like this: if you use Emacs regularly, there are probably at 
least a couple of times you've run into a situation like that. This has 
the benefit that you're starting off by writing patches that you have a 
personal stake in (because the patch will let you do something you want 
to do), which can help keep you motivated as you run into roadblocks 
learning a new codebase.

If you haven't found any issues like this, then the next thing I'd 
suggest would be to look on the Emacs bug tracker 
<https://debbugs.gnu.org/> for any open bugs related to features you use 
a lot. Just put "emacs" in for the package name under "General search", 
plus whatever other search terms you think make sense.



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

end of thread, other threads:[~2023-01-16  5:20 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.771.1263114721.18930.help-gnu-emacs@gnu.org>
2010-01-10  9:57 ` Help Cecil Westerhof
2010-01-10 22:36   ` Help Tim X
2010-01-20 16:52     ` Help Matt Proud
2023-01-13  2:43 help josh parson
2023-01-16  4:25 ` help Richard Stallman
2023-01-16  5:20 ` help Jim Porter
  -- strict thread matches above, loose matches on Subject: below --
2016-05-07 15:07 Help 庄 子恒
2016-05-08  4:03 ` Help Kaushal Modi
2016-05-08  7:12   ` Help Guillermo Vaya
2016-05-08 13:39 ` Help John Mastro
2016-05-09  0:47 ` Help Emanuel Berg
2016-05-09  8:42   ` Help Dejan Jocic
2016-05-09  9:30     ` Help Bob Proulx
2016-05-09 10:03       ` Help Dejan Jocic
2016-05-10  5:36         ` Help Bob Proulx
2016-05-10  6:09           ` Help Dejan Jocic
2016-05-10 23:17         ` Help Emanuel Berg
2016-05-11  8:57           ` Help Dejan Jocic
2016-05-14  3:52             ` Help Emanuel Berg
2016-05-11  0:31         ` Help John Mastro
2016-05-11  8:45           ` Help Dejan Jocic
2016-05-14  3:49     ` Help Emanuel Berg
     [not found] <mailman.80.1454259641.17556.emacs-orgmode@gnu.org>
2016-01-31 21:51 ` Help Heartsayer
     [not found] <mailman.1794.1443178478.19560.help-gnu-emacs@gnu.org>
2015-09-25 11:07 ` help Joost Kremers
2015-09-25  7:18 help ss
2015-09-25 11:00 ` help tomas
2015-09-27 17:21   ` help Artur Malabarba
2015-09-27 17:49     ` help Marcin Borkowski
2015-09-27 18:28       ` help Artur Malabarba
2015-09-27 20:02         ` help Marcin Borkowski
2015-09-28  1:37           ` help Kaushal Modi
2015-09-28 11:03             ` help Artur Malabarba
2014-09-02 16:07 help Moritz Kiefer
2014-10-12 12:10 ` help Bastien
2010-01-05 16:17 Help Rhey, David
2010-01-05 19:11 ` Help Tassilo Horn
2008-06-09 16:36 Help ila
2008-06-09 19:47 ` Help Xah
2008-06-10  0:29   ` Help Nikolaj Schumacher
2008-06-10 17:01 ` Help Joel J. Adamson
2008-06-09 16:00 help 江林
2008-06-09 19:39 ` help Xah
2007-12-13  5:42 help HANS jackman
2007-12-13 17:38 ` help Mike Mattie
2007-12-13 19:16 ` help Sebastian Tennant
     [not found] <mailman.2698.1177883418.7795.help-gnu-emacs@gnu.org>
2007-04-29 22:07 ` Help Harald Hanche-Olsen
2007-04-29  6:45 Help Mahesh HM
2005-08-03 14:07 Help Rich Hojsack
2005-12-15 15:35 ` Help Kevin Rodgers
2004-12-15 12:53 help fisherssml
2004-06-08  7:52 Help patrizia d'ippolito
2005-12-13 23:32 ` Help Richard M. Stallman
2005-12-14  7:55   ` Help Juri Linkov
2005-12-14 16:34     ` Help Kevin Rodgers
2005-12-14 19:15     ` Help Eli Zaretskii
2005-12-15  2:07     ` Help Richard M. Stallman
2005-12-15  8:16       ` Help Werner LEMBERG
2002-10-20  7:57 Help swk
2002-10-24 13:01 ` Help Jesper Harder
2002-10-24 21:45   ` Help swk
2002-10-29 21:56   ` Help swk

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.