all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: xz <zhang.xi.cn@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to go to next line on the screen instead of going to next  line in the text?
Date: Wed, 4 Jun 2008 07:53:04 -0700 (PDT)	[thread overview]
Message-ID: <a34385c0-b264-4005-b4df-9c9ec70b123f@m73g2000hsh.googlegroups.com> (raw)
In-Reply-To: 3ed818c4-ad1a-48d9-b2ab-68a6b15afa71@l64g2000hse.googlegroups.com

~~~
> which means, if I only want turn on this longlines-mode when editing
> latex/tex file, then I add the following to .emacs:
> (add-hook 'tex-mode-hook 'longlines-mode)
>
> Is that correct?
> But it seems not working......
>

I mean it works when I add
(add-hook 'text-mode-hook 'longlines-mode)

while it does work if I only add
(add-hook 'tex-mode-hook 'longlines-mode)


>
>
> > Here's the second way:
> > (add-hook 'find-file-hook 'longlines-mode)
> > (add-hook 'find-file-not-found-functions 'longlines-mode)
>
> > --
> > Kevin Rodgers
> > Denver, Colorado, USA



  reply	other threads:[~2008-06-04 14:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31  1:09 How to go to next line on the screen instead of going to next line in the text? xz
2008-05-31  5:34 ` Giorgos Keramidas
2008-06-03 16:35   ` xz
2008-06-04 13:24     ` Kevin Rodgers
     [not found]     ` <mailman.12656.1212585897.18990.help-gnu-emacs@gnu.org>
2008-06-04 14:48       ` xz
2008-06-04 14:53         ` xz [this message]
2008-06-05  5:41           ` Kevin Rodgers
     [not found]           ` <mailman.12677.1212644531.18990.help-gnu-emacs@gnu.org>
2008-06-05 15:05             ` xz
2008-05-31 19:29 ` B. T. Raven
2008-06-02 11:16 ` Sébastien Vauban
  -- strict thread matches above, loose matches on Subject: below --
2008-06-02 16:41 How to go to next line on the screen instead of going to, " Lorenzo Isella
     [not found] <mailman.12563.1212424885.18990.help-gnu-emacs@gnu.org>
2008-06-03 13:49 ` Sébastien Vauban
     [not found] <48456c51.131e640a.2218.2323SMTPIN_ADDED@mx.google.com>
2008-06-03 23:34 ` How to go to next line on the screen instead of going to,, " Lorenzo Isella
     [not found] ` <mailman.12640.1212536111.18990.help-gnu-emacs@gnu.org>
2008-06-04  6:42   ` How to go to next line on the screen instead of going to, , " Sébastien Vauban

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=a34385c0-b264-4005-b4df-9c9ec70b123f@m73g2000hsh.googlegroups.com \
    --to=zhang.xi.cn@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.