unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Questions concerning emacs
@ 2003-04-23  7:03 Urban Gabor
  0 siblings, 0 replies; 3+ messages in thread
From: Urban Gabor @ 2003-04-23  7:03 UTC (permalink / raw)


Hi,

I have two questions concerning emacs and I could not find
an answer.

1. I use emacs most of the time to edit program codes in C,
C++, perl, etc. I would like to have an intelligent template
editing. For example I type    'for' then emacs should
expand it to:
' for (  ;  ;  )
  {
  }'
or like that. How can I do that (is it possible at all?) ?

2. I find calendar/diary function very usefull. Is there any
extensio, which can be used to schedule meetings and tasks?
 For example 
'Apr 23 2003  13-14:30 Meeting. '
Can emacs detect collisions in the diary entries?

Gabaux
Linux is like a wigwam: no gates, no windows, and an apache
inside!

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

* Re: Questions concerning emacs
       [not found] <mailman.5104.1051081422.21513.help-gnu-emacs@gnu.org>
@ 2003-04-23 16:38 ` Kai Großjohann
  2003-04-23 20:24 ` Artist
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-04-23 16:38 UTC (permalink / raw)


Urban Gabor <gabaux@freemail.hu> writes:

> 1. I use emacs most of the time to edit program codes in C,
> C++, perl, etc. I would like to have an intelligent template
> editing. For example I type    'for' then emacs should
> expand it to:
> ' for (  ;  ;  )
>   {
>   }'
> or like that. How can I do that (is it possible at all?) ?

Emacs comes with a manual called Autotype.  That explains some
possibilities.

C-h i d         enter manual reader (called info)
m Autotype RET  enter the right manual (called info file)

> 2. I find calendar/diary function very usefull. Is there any
> extensio, which can be used to schedule meetings and tasks?
>  For example 
> 'Apr 23 2003  13-14:30 Meeting. '
> Can emacs detect collisions in the diary entries?

The diary can work together with the appointments facility.

C-h i d                 enter info
m Emacs RET             enter Emacs info file
m Appointments RET      go to appointments section

There is also todo-mode.el which also works together this
Calendar/Diary.  Look in the file for more documentation.

I don't know if it can do collision detection.  I'm afraid it might
not.

There are extensions for the diary to show you the appointments in a
somewhat more graphical way (as ascii graphics go).  I forgot the
name, though.
-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

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

* Re: Questions concerning emacs
       [not found] <mailman.5104.1051081422.21513.help-gnu-emacs@gnu.org>
  2003-04-23 16:38 ` Questions concerning emacs Kai Großjohann
@ 2003-04-23 20:24 ` Artist
  1 sibling, 0 replies; 3+ messages in thread
From: Artist @ 2003-04-23 20:24 UTC (permalink / raw)


Urban Gabor <gabaux@freemail.hu> wrote in message news:<mailman.5104.1051081422.21513.help-gnu-emacs@gnu.org>...
> Hi,
> 
> I have two questions concerning emacs and I could not find
> an answer.
> 
> 1. I use emacs most of the time to edit program codes in C,
> C++, perl, etc. I would like to have an intelligent template
> editing. For example I type    'for' then emacs should
> expand it to:
> ' for (  ;  ;  )
>   {
>   }'
> or like that. How can I do that (is it possible at all?) ?
> 
> 2. I find calendar/diary function very usefull. Is there any
> extensio, which can be used to schedule meetings and tasks?
>  For example 
> 'Apr 23 2003  13-14:30 Meeting. '
> Can emacs detect collisions in the diary entries?
> 
> Gabaux
> Linux is like a wigwam: no gates, no windows, and an apache
> inside!

Several things are available for your request #1.

1. Language specific modes 
2. abbrev-mode
3. skeletons

artist

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

end of thread, other threads:[~2003-04-23 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5104.1051081422.21513.help-gnu-emacs@gnu.org>
2003-04-23 16:38 ` Questions concerning emacs Kai Großjohann
2003-04-23 20:24 ` Artist
2003-04-23  7:03 Urban Gabor

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