all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs for writers (was Emacs users a dying breed?)
Date: Tue, 26 Jun 2012 20:41:53 -0700 (PDT)	[thread overview]
Message-ID: <58279e46-1758-44bd-bf74-b805db8af68c@re8g2000pbc.googlegroups.com> (raw)
In-Reply-To: mailman.3534.1340747277.855.help-gnu-emacs@gnu.org

On Jun 27, 2:47 am, James Freer <jesseja...@gmail.com> wrote:
> On 25 June 2012 10:38, James Freer <jesseja...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > On 25 June 2012 03:58, rusi <rustompm...@gmail.com> wrote:
> >> On Jun 25, 4:19 am, James Freer <jesseja...@gmail.com> wrote:
> >> <snipped>
> >>> What do i use at present while i'm still trying to get used to vim or
> >>> emacs - pico for email and bluefish. Both vim and emacs development
> >>> have gone down strange routes and yet both are popular.
>
> >>> james
>
> >> Ok James lets see if we can get you off the ground with emacs.
> >> To start with are you on linux? If not whats your OS?
> >> Next whats your emacs version? To find out do M-x emacs-version RETURN
> >> where M-x is emacs-funnyspeak for Alt-x or Escape-x.
> >> Next whats in your init file? Beginners are usually recommended to
> >> use .emacs (note the .)
> >> I recommend .emacs.d/init.el
> >> If all this is trivial to you please excuse; no intent to be
> >> patronizing here; just dont know at what level you are stuck
>
> > Rusi
>
> > I really appreciate your reply and offer of help. At present i've got
> > to get a car sorted out so i'll leave it for a couple of days and then
> > i can be focussed and look these things up.
>
> > thanks
> > james
>
> Hi Rusi
>
> Finally got the domestic side under control. I look after my mother
> with Alzheimer's so i needed to get the car sorted to get her
> medication. The head gasket had gone and on these cars you've got to
> take the engine out... which involves quite a bit of work.

O my!

>
> On to emacs.
>
> IT experience: used to do some programming in the 90's and used
> wordstar for editing but have an engineering degree not computing.
> Ideal choice for me would be to use Joe or E3 editors but they don't
> do bookmarks so i was thinking of Vim or emacs. Been using linux
> ubuntu for about 4 years and about 18 months ago changed to xubuntu...
> just like the minimal approach switching before Unity came along. Have
> tried other distros but prefer apt package management. I know my way
> around xubuntu fairly well although i'm not as technical as a
> programmer - couldn't call myself a ' geek'.

Geek enough to have an intelligible and intelligent conversation

>
> OS: currently using xubuntu 10.04 with emacs 23 installed although i'm
> just about to install  12.04 on a new pc which will have emacs 24. I'm
> hoping to set things up before i switch over to the new pc.
>
> config files: .emac, .emac.d [i know about hidden files but there are
> just comments in these both are bare]..emac.d appears to have an
> 'auto-save' directory and nothing there.

I guess you are misspelling these?  Should be .emacs and .emacs.d/
init.el
If the first is useless throw it out (ie rm .emacs) If you have
something useful there 'mv' it to the second.

Once thats done make sure its 'reached.'
I do that by making an obvious syntax error -- eg a single opening '('
without closing ')'  and make sure you get a lisp syntax error on
starting emacs. [Usually this just works on linux and gives all kinds
of hell on windows]
There are many different things to set up specifically for your needs
-- many of them I dont know about.
For now lets use one example -- wordwrap/linebreak -- to understand
the workflow.
In emacs there are two commands longlines-mode and visual-line-mode
for this.
To try these do M-x (I guess you know M-x is Alt-x)
longlines-modeRET
Start playing with tab-expansion: type longTAB and see it expand etc
You turn it off by running the same command again.
Try both; the current fashion is visual-line-mode but it does not seem
t respect fill-column as longlines does.

Play around with both and decide which you like.
Now comes the next stage -- getting it into your standard config --
ie .emacs.d/init.el.
Now what goes in there is elisp corresponding to the command you want.
If say you want the command longlines then the corresponding elisp is
this line

(longlines-mode)

But its important to understand how to get there.
Do
C-h f
You should see the cursor at the bottom (its called the minibuffer)
Type longlines-mode (get used to using tab expansion)
RET
You should see something like

longlines-mode is an interactive compiled Lisp function in
`longlines.el'.
---------------------------------------------
(longlines-mode &optional ARG)

Toggle Long Lines mode.
In Long Lines mode, long lines are wrapped if they extend beyond
`fill-column'.  The soft newlines used for line wrapping will not
show up when the text is yanked or saved to disk.

If the variable `longlines-auto-wrap' is non-nil, lines are
automatically
wrapped whenever the buffer is changed.  You can always call
`fill-paragraph' to fill individual paragraphs.

If the variable `longlines-show-hard-newlines' is non-nil, hard
newlines
are indicated with a symbol.

--------------------------------------------------
Read it
Whats the ARG?? God knows -- seems to be a doc-bug (Interesting
considering this thread :-) )
Anyhow its optional so we can try dropping it and so we get from the
'command'
M-x longlines-mode
to the elisp
(longlines-mode)

Put it into your emacs and restart emacs.  Check that its now your own
new personal default.
----------------------------------------------------
There are other stops in the hacking and checking of emacs/elisp like
using eval-expression, using the scratch buffer etc.  But for now this
much should be just right.

Get this much running and post back here preferably with specific
questions on where you are stuck.

>
> For me the requirements are; bookmarks, word count, split windows,
> wordwrap (linebreak i think it's called (but not saving in that form
> like nano/pico does)) if possible to remove some of the programming
> features and things like calculator in order to have a faster app for
> using with Alpine mail. [I know one can use MH but i don't know that
> it's as fast as Alpine - i did have a look at it about a year ago but
> i got lost somewhere setting it up].
>
> Hope that's enough info for the moment.
>
> thanks
> james



  parent reply	other threads:[~2012-06-27  3:41 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2952.1339986753.855.help-gnu-emacs@gnu.org>
2012-06-18  3:22 ` Emacs users a dying breed? Pascal J. Bourguignon
2012-06-18  9:32   ` djc
2012-06-18 10:25     ` Pascal J. Bourguignon
2012-06-18 17:09     ` Ken Goldman
2012-06-21 15:27 ` rusi
2012-06-22  6:19   ` Tom
2012-06-22  8:45     ` Jeremiah Dodds
2012-06-22  9:40       ` Tom
2012-06-22 11:07         ` Bastien
2012-06-22 11:16           ` Andreas Röhler
2012-06-24 23:19             ` James Freer
2012-06-25  7:23               ` give emacs --daemon / emacsclient a try (was: Re: Emacs users a dying breed?) Gregor Zattler
     [not found]             ` <mailman.3407.1340581002.855.help-gnu-emacs@gnu.org>
2012-06-25  2:58               ` Emacs for writers (was " rusi
2012-06-25  9:38                 ` James Freer
2012-06-26 21:47                   ` James Freer
     [not found]                   ` <mailman.3534.1340747277.855.help-gnu-emacs@gnu.org>
2012-06-27  3:41                     ` rusi [this message]
2012-06-22 13:13           ` Emacs users a dying breed? Tom
     [not found]           ` <mailman.3233.1340370922.855.help-gnu-emacs@gnu.org>
2012-06-22 14:12             ` Jay Belanger
2012-06-22 15:02               ` Tom
     [not found]               ` <mailman.3245.1340377350.855.help-gnu-emacs@gnu.org>
2012-06-22 18:25                 ` John Bokma
2012-06-22 11:17         ` Jeremiah Dodds
2012-06-22 12:03           ` Andreas Röhler
2012-06-22 12:21             ` Richard Riley
2012-06-22 13:04               ` Jonathan Groll
2012-06-23 11:33                 ` Philipp Haselwarter
2012-06-23 12:05                   ` Teemu Likonen
2012-06-23 12:35                     ` Philipp Haselwarter
2012-06-23 12:53                       ` Eli Zaretskii
2012-06-23 13:53                       ` S Boucher
2012-06-23 12:37                     ` suvayu ali
2012-06-25 19:00                   ` Ken Goldman
2012-06-23 14:02               ` S Boucher
2012-06-22 12:46             ` Thien-Thi Nguyen
2012-06-22 13:27               ` Andreas Röhler
2012-06-22 13:45               ` Doug Lewan
2012-06-22 13:09           ` Tom
2012-07-02 11:36             ` Mihamina Rakotomandimby
2012-06-22 15:08 ` Issues with emacs (was Emacs users a dying breed?) rusi
2012-06-22 15:26   ` Issues with emacs Pascal J. Bourguignon
2012-06-23  2:28     ` rusi
2012-06-23  9:47       ` Pascal J. Bourguignon
2012-06-22 16:41   ` Issues with emacs (was Emacs users a dying breed?) Drew Adams
2012-06-22 18:01     ` Bastien
2012-06-23 20:04       ` Tom
2012-06-24 11:38         ` Eric Abrahamsen
2012-06-24 14:00           ` Drew Adams
2012-06-25 19:23           ` Ludwig, Mark
     [not found]         ` <mailman.3361.1340537904.855.help-gnu-emacs@gnu.org>
2012-06-24 13:52           ` Issues with emacs Pascal J. Bourguignon
     [not found]       ` <mailman.3330.1340481863.855.help-gnu-emacs@gnu.org>
2012-06-23 23:49         ` Dan Espen
2012-06-24  1:24           ` Pascal J. Bourguignon
2012-06-24  2:39           ` ken
2012-06-25 18:02             ` Sivaram Neelakantan
2012-06-26  3:03               ` becoming a developer [was: Re: Issues with emacs] ken
     [not found]               ` <mailman.3485.1340679833.855.help-gnu-emacs@gnu.org>
2012-06-26  3:23                 ` rusi
     [not found]                   ` <CAPyVhy_fL3KLrNzqOMbg69UqUMAKPmXbbu7gVYQcK+KiML44hA@mail.gmail.com>
     [not found]                     ` <CAJ+Teof7T6qXdztq_Pjh+S8gVXQV-ToYJ6EQrPNYQAumn_aDOA@mail.gmail.com>
2012-06-27 13:38                       ` antoine no
2012-06-27 17:44                         ` Aurélien Aptel
2012-06-26 12:29                 ` becoming a lisp developer Pascal J. Bourguignon
2012-06-27 15:36                   ` ken
2012-06-27 16:12                     ` PJ Weisberg
     [not found]                   ` <mailman.3561.1340811384.855.help-gnu-emacs@gnu.org>
2012-06-27 16:09                     ` Pascal J. Bourguignon
     [not found]             ` <mailman.3455.1340647361.855.help-gnu-emacs@gnu.org>
2012-06-25 18:40               ` Issues with emacs notbob
2012-06-25 19:05                 ` Glyn Millington
     [not found]           ` <mailman.3348.1340505598.855.help-gnu-emacs@gnu.org>
2012-06-24  6:39             ` rusi
2012-06-24  7:01               ` Corentin Henry
2012-06-24  7:55                 ` Andreas Röhler
2012-06-24 16:04                   ` Eli Zaretskii
2012-06-24 17:38                     ` Andreas Röhler
2012-06-24 18:21                       ` Eli Zaretskii
     [not found]                 ` <mailman.3355.1340524541.855.help-gnu-emacs@gnu.org>
2012-06-24 12:17                   ` notbob
2012-06-24 13:24                     ` Deniz Dogan
2012-06-24 14:42                       ` Yuri Khan
2012-06-24 15:08                       ` Gregory Benjamin
2012-06-25 19:26                         ` Deniz Dogan
2012-06-24 16:24                       ` Eli Zaretskii
2012-06-25 19:25                         ` Deniz Dogan
2012-06-24 13:36                     ` Richard Riley
     [not found]                     ` <mailman.3362.1340544276.855.help-gnu-emacs@gnu.org>
2012-06-24 14:03                       ` notbob
2012-06-24 16:01                 ` Eli Zaretskii
2012-06-24 10:14               ` Rainer M Krug
2012-06-24 14:18                 ` Drew Adams
2012-06-24 15:41                   ` Rainer M Krug
2012-06-24 16:07                     ` Drew Adams
2012-06-24 16:48                       ` Rainer M Krug
     [not found]               ` <mailman.3354.1340521292.855.help-gnu-emacs@gnu.org>
2012-06-24 12:15                 ` notbob
2012-06-24 14:02               ` Drew Adams
2012-06-25  3:54               ` ken
     [not found]               ` <mailman.3424.1340596458.855.help-gnu-emacs@gnu.org>
2012-06-25  5:51                 ` rusi
2012-06-25  7:45                   ` Helmut Eller
2012-06-25  8:57                     ` Tom
2012-06-25 21:24                       ` Jeremiah Dodds
2012-06-26  5:50                         ` Tom
2012-06-26 20:08                           ` Jeremiah Dodds
     [not found]                         ` <mailman.3486.1340689846.855.help-gnu-emacs@gnu.org>
2012-06-26 13:29                           ` notbob
2012-06-26 17:47                             ` Dustin Hemmerling
2012-06-26 18:13                             ` Sivaram Neelakantan
2012-06-26 18:32                             ` Richard Riley
2012-06-28 12:14                               ` Tom
     [not found]                             ` <mailman.3520.1340735564.855.help-gnu-emacs@gnu.org>
2012-06-26 19:28                               ` notbob
2012-06-26 19:49                                 ` Ludwig, Mark
2012-06-26 19:52                                   ` Pascal J. Bourguignon
2012-06-27 15:49                                   ` PJ Weisberg
2012-06-28  2:09                                     ` John Wiegley
     [not found]                                 ` <mailman.3523.1340740164.855.help-gnu-emacs@gnu.org>
2012-06-26 20:13                                   ` notbob
2012-06-26 23:57                             ` John Wiegley
2012-06-27  9:23                               ` temacs Jambunathan K
2012-06-27 14:44                                 ` temacs Ken Goldman
2012-06-28  2:40                                   ` temacs John Wiegley
2012-06-28  8:49                                     ` temacs Bastien
2012-06-29 19:37                                       ` temacs Ken Goldman
     [not found]                                       ` <mailman.3732.1340998682.855.help-gnu-emacs@gnu.org>
2012-06-30  3:51                                         ` temacs rusi
2012-06-27 14:44                                 ` temacs suvayu ali
2012-06-27 16:24                                   ` temacs Alp Aker
2012-06-27 19:57                                     ` temacs Ken Goldman
2012-07-05  4:14                                 ` temacs John Wiegley
2012-07-05 12:46                                   ` temacs Eli Zaretskii
2012-07-07 16:51                                     ` temacs John Wiegley
2012-07-07 17:20                                       ` temacs Eli Zaretskii
2012-06-27 15:48                             ` Issues with emacs Stefan Monnier
2012-06-26  3:08                     ` rusi
2012-06-26  8:35                       ` Thien-Thi Nguyen
2012-06-27  5:54                   ` MBR
2012-06-26 18:03             ` Bug Dout
2012-06-25  2:43       ` Issues with emacs (was Emacs users a dying breed?) Ugly Sean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58279e46-1758-44bd-bf74-b805db8af68c@re8g2000pbc.googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.