Karl Berry | 1 Feb 2010 03:04

Re: e23 inverse video on mode line and nowhere else

Thanks to everyone for replying, although unfortunately these
suggestions do not work for me.(*)

I've filed a bug about compile.el using non-mode-line-faces on the
mode line.  Meanwhile, I'll guess I'll try to defadvise
mode line creation, or something.

Karl

(*) list-faces and customize-face are useless for me.  They do not allow
for completely turning off "facification", last time I tried anyway.
Beyond that, they are far too ui-intensive, mess around with my startup
files, and most importantly there are far too many faces to deal with
that way.  And new faces crop up at the drop of a hat.

The Elisp that Juri sent me years ago, which I included in my original
post, already takes care of the issue in general, as well as possible.
(http://lists.gnu.org/archive/html/help-gnu-emacs/2010-01/msg00196.html)

What I posted about this month is a new problem, where, as Juri and I
said, non-mode-line faces are used to propertize text for the mode line.
It's no different in the 23.1.92 pretest, either.

Anyway.

Maindoor | 1 Feb 2010 06:47
Picon
Favicon

Re: simple requirement, so simple don't know how to search

Hi,
Thanks for the info, but registers limit the marked entries
and I will not be able to cycle through them. So that is
out of the question.
After looking around I found thing-cmds.el . The description
looks good but I need to try it out.
I'm looking for something like:
press F2 -> put the current position where cursor is in a list with limit of
                   20 entries.
press F3 -> go forward in the list.
press F4 -> go backward in the list.

Regards,
Maindoor.

--- On Thu, 1/28/10, Mario Domenech Goulart <mario.goulart <at> gmail.com> wrote:

From: Mario Domenech Goulart <mario.goulart <at> gmail.com>
Subject: Re: simple requirement, so simple don't know how to search
To: "Maindoor" <sanjeevfiles <at> yahoo.com>
Cc: help-gnu-emacs <at> gnu.org
Date: Thursday, January 28, 2010, 6:20 PM

Hi

On Thu, 28 Jan 2010 04:39:53 -0800 (PST) Maindoor <sanjeevfiles <at> yahoo.com> wrote:

> I have a huge codebase and I I visit various files. There are certain
> points which I would like "the feature I"m looking for" to remember
> when I press a key.  So that I can cycle through them back and
> forth. This is quite basic so I am hoping this will already be there.
> Someone just tell me that this feature is there.

Maybe you are looking for Emacs registers:
http://www.gnu.org/software/emacs/manual/html_node/emacs/RegPos.html#RegPos

Best wishes.
Mario

Tim Visher | 1 Feb 2010 14:49
Picon
Gravatar

ispell in Emacs.app

Hello Everyone,

I'd like to do ispell in Emacs.app on my Mac but because of PATH
issues it can't see aspell or the like.  Does anyone know how to
accomplish this?

Thanks.

--

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

Drew Adams | 1 Feb 2010 16:22
Picon
Favicon

RE: simple requirement, so simple don't know how to search

	Thanks for the info, but registers limit the marked entries
	and I will not be able to cycle through them. So that is 
	out of the question.
	After looking around I found thing-cmds.el . The description
	looks good but I need to try it out.
	I'm looking for something like:
	press F2 -> put the current position where cursor is in a
                  list with limit of 20 entries.
	press F3 -> go forward in the list.
	press F4 -> go backward in the list.

I wrote thing-cmds.el. Dunno if it will help you here - it's not clear to me
what you really want to do. I thought previously that what you wanted was
essentially bookmarks.

Now you say you just want to move through a list, that is, move forward a sexp
(list element) at a time. For that you can use `C-M-f', `C-M-b', and so on. What
you mean by your description of F2 is also unclear to me.

People's replies to you have been all over the map, which is an indication that
maybe your requirement isn't well specified. ;-) Most replies take the need to
be to bounce around among predefined positions. Hence people have suggested
marks (and global marks), registers, and bookmarks, all of which let you do
that.

Stefan Monnier | 1 Feb 2010 18:04
Picon

Re: change spaces indent in text mode?

>> Here     are    some                     words.
>> 
>> Then press TAB key a couple of times on the next line. Then go to the
>> beginning of line and press M-i a couple of times. You should see the
>> difference.

> Maybe this is a little off-topic, but is their anyway to have that behaviour
> of the TAB key with source code, say C++ or Python?

You can make the TAB key do whatever you want, by rebinding it to some
other command.  The command that does the above is called
`indent-relative'.

        Stefan

Stefan Monnier | 1 Feb 2010 18:07
Picon

Re: change spaces indent in text mode?

> The documentation is a little confusing on this, at least to me. My
> Emacs manual (info "(emacs)Text Display") says that you need to use
> default-tab-width for this, as tab-width is buffer local, meaning it
> only applies to the buffer you were in when you set it. However, the
> help for default-tab-width (C-h v default-tab-width) says that
> default-tab-width is deprecated, and tab-width should be used instead.

> I think this might qualify as a buglet in the documentation, unless I'm
> missing something obvious.

Indeed, thanks.  It is obsolete but the doc hasn't been
updated correspondingly.

        Stefan

Pascal J. Bourguignon | 1 Feb 2010 18:13
Face
Favicon

Re: .emacs to .Xresources converter?

Tim Landscheidt <tim <at> tim-landscheidt.de> writes:
> for many Emacs customizations there are corresponding X re-
> sources (e. g. "tool-bar-mode" vs. "toolBar"). Looking up in
> the documentation whether there exists such an equivalent,
> looking up a potentially different syntax, etc. /can/ be
> done manually - but there *must* already be a Lisp snippet
> out there that does that in a realiable way :-). Any poin-
> ters?

You lost a good opportunity to have some fun:

    http://paste.lisp.org/display/94218

For LessTif Resources and GTK resources, it's more complex to gather
the list of possible attributes, and I'm not even sure their values
are recoverable from emacs lisp, since AFAIK, they're directly
determined and used from the corresponding libraries.

--

-- 
__Pascal Bourguignon__

Tim Landscheidt | 1 Feb 2010 15:24
Picon

.emacs to .Xresources converter?

Hi,

for many Emacs customizations there are corresponding X re-
sources (e. g. "tool-bar-mode" vs. "toolBar"). Looking up in
the documentation whether there exists such an equivalent,
looking up a potentially different syntax, etc. /can/ be
done manually - but there *must* already be a Lisp snippet
out there that does that in a realiable way :-). Any poin-
ters?

TIA,
Tim

Xavier Maillard | 1 Feb 2010 23:08
Picon

[JAVA] set up java-mode to match Eclipse setup

Hi,

my coworkers are using Eclipse for several of projects. I do not
like Eclipse and I'd rather want to stay in GNU Emacs. My main
concern is that it seems Eclipse setup is quite different from my
own java-mode setup. I think both of us are using default setup
parameters -i.e. I did not customize it and the did not in
Eclipse.

How can we "match" our environments ? For example, C-S-f in
Eclipse is like M-S-\ in Emacs but the result is quite different
making us quite nervous when commiting ;) We want such things to
be fixed either in my "IDE" or in theirs.

Any idea ?

	Xavier
--

-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org

Kevin Rodgers | 2 Feb 2010 02:22
Picon

Re: Load 'auto-save' error on startup

Conrad Taylor wrote:
> I'm getting the following error message when the init.el is loaded:
> 
> Debugger entered--Lisp error: (file-error "Cannot open load file "auto-
> save")
> 
> I'm using emacs 23.1.1 on Ubuntu 9.10.  Lastly, my issues began when
> there was no sample.emacs or sample.init.el within the distribution
> which
> adds another level of confusion.  Thus, if anyone has any ideas as to
> how
> to fix this, it would be greatly appreciated.

There is no auto-save or autosave library distributed with Emacs.

Try starting emacs with the --debug-init option.

--

-- 
Kevin Rodgers
Denver, Colorado, USA


Gmane