* Newbie question
@ 2005-09-06 6:30 Goli, Rajesh (Rajesh)
2005-09-06 13:15 ` Denis Bueno
2005-09-06 21:20 ` Kevin Rodgers
0 siblings, 2 replies; 9+ messages in thread
From: Goli, Rajesh (Rajesh) @ 2005-09-06 6:30 UTC (permalink / raw)
Hello,
I have been a vim user for sometime now and wanted to check out emacs. The
basic tutorial is good. It gave me a overview. My editing is mostly about
editing C/C++ code. Now can you help me out with the following:
* How to jump to matching brace, ifdefs etc?
* How can I get help on the things I do, like ":help case" in vim would tell
me how to manipulate cases of text?
* How can I pull down menus in xemacs without using keyboard?
* How can I set up ctags?
* How to learn advanced editing features incrementally?
Thanks in advance,
Rajesh
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Newbie question
2005-09-06 6:30 Newbie question Goli, Rajesh (Rajesh)
@ 2005-09-06 13:15 ` Denis Bueno
2005-09-06 21:20 ` Kevin Rodgers
1 sibling, 0 replies; 9+ messages in thread
From: Denis Bueno @ 2005-09-06 13:15 UTC (permalink / raw)
Cc: help-gnu-emacs
On 06 Sep 2005, at 02.30, Goli, Rajesh (Rajesh) wrote:
> Hello,
>
> I have been a vim user for sometime now and wanted to check out
> emacs. The
> basic tutorial is good. It gave me a overview. My editing is mostly
> about
> editing C/C++ code. Now can you help me out with the following:
>
> * How to jump to matching brace, ifdefs etc?
If you're on an open-brace, C-M-f will go to one character past the
closing brace; C-M-b will go back. (Not sure about #ifdef's, although
C-c C-p and C-c C-n might be what you want.
> * How can I get help on the things I do, like ":help case" in vim
> would tell
> me how to manipulate cases of text?
Not sure about the help, but:
M-c will capitalize the word starting at the point (cursor).
M-l will lowercase the word ....
M-u will uppercase the word ....
-Denis
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Newbie question
2005-09-06 6:30 Newbie question Goli, Rajesh (Rajesh)
2005-09-06 13:15 ` Denis Bueno
@ 2005-09-06 21:20 ` Kevin Rodgers
1 sibling, 0 replies; 9+ messages in thread
From: Kevin Rodgers @ 2005-09-06 21:20 UTC (permalink / raw)
Goli, Rajesh (Rajesh) wrote:
> * How can I get help on the things I do, like ":help case" in vim
would tell
> me how to manipulate cases of text?
`C-h a case RET' will list all the commands with "case" in their name.
`C-h i i case', then `,' will take you through the manual pages that are
indexed under "case".
> * How can I pull down menus in xemacs without using keyboard?
Uh, use the mouse?
Or do you mean "How can I pull down menus in emacs by using the keyboard
instead of the mouse"? I don't know about XEmacs, but the "Menu Bar"
section of the Emacs manual says:
| On text-only terminals with no mouse, you can use the menu bar by
| typing `M-`' or <F10> (these run the command `tmm-menubar'). This
| command enters a mode in which you can select a menu item from the
| keyboard. A provisional choice appears in the echo area. You can use
| the left and right arrow keys to move through the menu to different
| choices. When you have found the choice you want, type <RET> to select
| it.
|
| Each menu item also has an assigned letter or digit which designates
| that item; it is usually the initial of some word in the item's name.
| This letter or digit is separated from the item name by `=>'. You can
| type the item's letter or digit to select the item.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 9+ messages in thread
* Newbie Question
@ 2009-05-11 17:01 Tennis Smith
0 siblings, 0 replies; 9+ messages in thread
From: Tennis Smith @ 2009-05-11 17:01 UTC (permalink / raw)
To: Emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 157 bytes --]
Hi,
I used CUA mode, so my "C-c" is taken up by the "Copy" function. Is there
some way I can replace "C-c" for org mode with, say, "C-Alt-C" ?
Thanks,
-T
[-- Attachment #1.2: Type: text/html, Size: 218 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 9+ messages in thread
* Newbie question
@ 2013-02-08 12:50 Ken
2013-02-08 13:15 ` Julian Burgos
2013-02-08 15:12 ` Nick Dokos
0 siblings, 2 replies; 9+ messages in thread
From: Ken @ 2013-02-08 12:50 UTC (permalink / raw)
To: emacs-orgmode
Hello all,
I am a relative newbie to org-mode. Right now I use it for todo lists, I
use it in conjunction with the diary, and I use it for
journaling/note-taking. I am sure I am only using it fo a quarter or
less of what it can be used for. Anyway, my question is rather simple.
<CTRL-.> will allow you to insert a date. However, in my journal I use a
full timestamp. Is there any way using a defined set of keys to insert a
current TIMESTAMP on an entry (say as in a journal entry)?
Thank you
Ken
--
The only thing better than love is milk.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Newbie question
2013-02-08 12:50 Newbie question Ken
@ 2013-02-08 13:15 ` Julian Burgos
2013-02-08 15:50 ` Ken
2013-02-08 15:12 ` Nick Dokos
1 sibling, 1 reply; 9+ messages in thread
From: Julian Burgos @ 2013-02-08 13:15 UTC (permalink / raw)
To: Ken; +Cc: emacs-orgmode
Hi Ken,
If you do <C-u C-c .> you will get an active timestamp with date and
time. <C-u C-c !> will give you an inactive timestamp with date and time.
I also have this code in my .emacs file, so whenever I create a headline
I get an inactive timestamp automatically. It should be easy to change
to get an active timestamp if you want.
;------------------------------------------------------------------------------
;Creating new headlines insert inactive timestamps automatically
(defun bh/insert-inactive-timestamp ()
(interactive)
(org-insert-time-stamp nil t t nil nil nil))
(defun bh/insert-heading-inactive-timestamp ()
(save-excursion
(org-return)
(org-cycle)
(bh/insert-inactive-timestamp)))
(add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
;-------------------------------------------------------------------------
Enjoy!
--
Julian Mariano Burgos, PhD
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax: +354-5752001
Netfang/Email: julian@hafro.is
On 02/08/2013 12:50 PM, Ken wrote:
> Hello all,
>
> I am a relative newbie to org-mode. Right now I use it for todo lists, I
> use it in conjunction with the diary, and I use it for
> journaling/note-taking. I am sure I am only using it fo a quarter or
> less of what it can be used for. Anyway, my question is rather simple.
> <CTRL-.> will allow you to insert a date. However, in my journal I use a
> full timestamp. Is there any way using a defined set of keys to insert a
> current TIMESTAMP on an entry (say as in a journal entry)?
>
> Thank you
> Ken
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Newbie question
2013-02-08 12:50 Newbie question Ken
2013-02-08 13:15 ` Julian Burgos
@ 2013-02-08 15:12 ` Nick Dokos
1 sibling, 0 replies; 9+ messages in thread
From: Nick Dokos @ 2013-02-08 15:12 UTC (permalink / raw)
To: Ken; +Cc: emacs-orgmode
Ken <kensubuntu@gmail.com> wrote:
> Hello all,
>
> I am a relative newbie to org-mode. Right now I use it for todo lists, I
> use it in conjunction with the diary, and I use it for
> journaling/note-taking. I am sure I am only using it fo a quarter or
> less of what it can be used for. Anyway, my question is rather simple.
> <CTRL-.> will allow you to insert a date. However, in my journal I use a
> full timestamp. Is there any way using a defined set of keys to insert a
> current TIMESTAMP on an entry (say as in a journal entry)?
>
This (and many other questions) is answered in the manual: for this one,
see section 8.2, "Creating timestamps". The manual is available online
e.g.
http://orgmode.org/org.html#Dates-and-Times
but I generally prefer to look up things locally, using emacs's info
system. For example, evaluate the following in emacs:
(info "(org) Creating timestamps")
Nick
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Newbie question
2013-02-08 13:15 ` Julian Burgos
@ 2013-02-08 15:50 ` Ken
0 siblings, 0 replies; 9+ messages in thread
From: Ken @ 2013-02-08 15:50 UTC (permalink / raw)
To: Julian Burgos; +Cc: emacs-orgmode
On Fri, Feb 08, 2013 at 01:15:19PM +0000, Julian Burgos wrote:
> Hi Ken,
>
> If you do <C-u C-c .> you will get an active timestamp with date
> and time. <C-u C-c !> will give you an inactive timestamp with date
> and time.
> I also have this code in my .emacs file, so whenever I create a
> headline I get an inactive timestamp automatically. It should be
> easy to change to get an active timestamp if you want.
>
> ;------------------------------------------------------------------------------
> ;Creating new headlines insert inactive timestamps automatically
>
> (defun bh/insert-inactive-timestamp ()
> (interactive)
> (org-insert-time-stamp nil t t nil nil nil))
>
> (defun bh/insert-heading-inactive-timestamp ()
> (save-excursion
> (org-return)
> (org-cycle)
> (bh/insert-inactive-timestamp)))
>
> (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
> ;-------------------------------------------------------------------------
>
> Enjoy!
Thanks, Julian. I much appreciate this.
Ken
>
> --
> Julian Mariano Burgos, PhD
> Hafrannsóknastofnunin/Marine Research Institute
> Skúlagata 4, 121 Reykjavík, Iceland
> Sími/Telephone : +354-5752037
> Bréfsími/Telefax: +354-5752001
> Netfang/Email: julian@hafro.is
>
>
>
> On 02/08/2013 12:50 PM, Ken wrote:
> >Hello all,
> >
> >I am a relative newbie to org-mode. Right now I use it for todo lists, I
> >use it in conjunction with the diary, and I use it for
> >journaling/note-taking. I am sure I am only using it fo a quarter or
> >less of what it can be used for. Anyway, my question is rather simple.
> ><CTRL-.> will allow you to insert a date. However, in my journal I use a
> >full timestamp. Is there any way using a defined set of keys to insert a
> >current TIMESTAMP on an entry (say as in a journal entry)?
> >
> >Thank you
> >Ken
> >
> >
>
>
--
Work consists of whatever a body is obliged to do.
Play consists of whatever a body is not obliged to do.
-- Mark Twain
^ permalink raw reply [flat|nested] 9+ messages in thread
* Newbie question
@ 2018-08-01 14:07 Henrik Frisk
0 siblings, 0 replies; 9+ messages in thread
From: Henrik Frisk @ 2018-08-01 14:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]
Hi,
I'm new with Scheme and new with org babel so excuse me if I am missing
something obvious.
I have this bit of (simplified) Scheme code to generate a list of lists:
#+name: chromatic
#+begin_src scheme :noweb yes
(map (lambda (x)
(cond ((< x 4) (list 0 1))
((equal? x 4) (list 2 0))
((> x 4) (list 1 1))))
(list 0 1 2 3 4 5 6 7 8 9 10 11))
#+end_src
It appears to be working fine outputting a table such as
#+RESULTS:
| 0 | 1 |
| 0 | 1 |
| 0 | 1 |
...
For another function in Lilypond, also in scheme I need it to be a (list
(list 0 1) (list 0 1)...) as in the variable seq below:
#+begin_src scheme :noweb yes
$(let ((random-state (seed->random-state (current-time)))
(seq (list (list 0 0) (list 0 1/2) (list 1 0) (list 1 1/2) (list 2
0) (list 3 0) (list 3 1/2) (list 4 0) (list 4 1/2) (list 5 0) (list 5 1/2)
(list 6 0))))
(make-sequential-music
(map (lambda (x p)
(let ((idx (random 12 random-state)))
(make-music 'NoteEvent
'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 (car p) (car (cdr p))))))
(make-list (length seq)) seq)))
#+end_src
I can do:
(seq <<alist>>)
if alist is:
#+name: alist
#+begin_src scheme
(list (list 0 0) (list 0 1/2) (list 1 0) (list 1 1/2) (list 2 0)
(list 3 0) (list 3 1/2) (list 4 0) (list 4 1/2) (list 5 0) (list 5 1/2)
(list 6 0))
#+end_src
but what I would like to be able to do is to have have the noweb reference
be to the 'chromatic' function above as in:
(seq <<chromatic()>>)
but that doesn't work. Maybe what I am trying to do is not possible, maybe
there is a limitation on ob-lilypond, but it seems to me that the result of
my function chromatic above spits out ((0 1) (0 1)... ) and that this is
the cause it doesn't work.
Again, I am really new to this...
The workaround I am doing is to format the output of chromatic into a
proper list och lists and then add it by noweb reference.
Any hints welcome.
/Henrik
[-- Attachment #2: Type: text/html, Size: 3186 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-08-01 14:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 6:30 Newbie question Goli, Rajesh (Rajesh)
2005-09-06 13:15 ` Denis Bueno
2005-09-06 21:20 ` Kevin Rodgers
-- strict thread matches above, loose matches on Subject: below --
2009-05-11 17:01 Newbie Question Tennis Smith
2013-02-08 12:50 Newbie question Ken
2013-02-08 13:15 ` Julian Burgos
2013-02-08 15:50 ` Ken
2013-02-08 15:12 ` Nick Dokos
2018-08-01 14:07 Henrik Frisk
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.