sdn.gnuem | 1 May 2011 02:46
Favicon

Re: Different text/properties in active vs inactive mode line

On Sat, Apr 30, 2011 at 12:14 PM -0400 (EDT), Eli Zaretskii wrote:

> > From: sdn.gnuem <at> mailnull.com

> > Date: Sat, 30 Apr 2011 11:25:40 -0400 (EDT)

[...]

> > Is there a variable or function that will tell me the current face of

> > the mode line?

> 

> Actually, there's a simpler method: Emacs uses the `mode-line' face

> for the selected window, and `mode-line-inactive' for all the other

> windows.  So you can use the `selected-window' function and compare

> its value to the window for which you want to change the mode-line

> appearance.

    I appreciate your help so far, Eli, but I confess I am still not

seeing all the way to the end yet.

    I don't want to change the face of my mode-line status strings for

(Continue reading)

Eli Zaretskii | 1 May 2011 09:49
Picon

Re: Different text/properties in active vs inactive mode line

> From: sdn.gnuem <at> mailnull.com
> Date: Sat, 30 Apr 2011 20:46:51 -0400 (EDT)
> 
>     I appreciate your help so far, Eli, but I confess I am still not
> seeing all the way to the end yet.

That's okay, since I have no clear idea about what exactly you are
after, either.

> So I do not understand what you are suggesting I compare
> to selected-window in order to determine which face to use.

In the code that adds whatever you want to the mode line, compare the
window with the value returned by `selected-window'.

mafeuser | 1 May 2011 10:56
Picon

Re: emacs 23.3; tramp. remote activity adds extra login info.

Michael,
Thank YOu for the patch!
best regards,

Paul

Michael Albinus <michael.albinus <at> gmx.de> writes:

> I'll commit
> it to both Tramp 2.1 and 2.2 repositories.
>
> Will be fixed with Emacs 23.4 (don't know, whether it will come before
> Emacs 24), and Emacs 24.1.
>

hairryharry | 1 May 2011 11:43

Calendar misaligned

Hi,

Quite a newbie tio emacs but have it set up and using org-mode and 
generally very happy.

However when I bring up the calendar buffer the dates are ok in the 
first month but become misaligned from the related day columns.

Have reset font and things but no change - googled with no answer.

Any advice appreciated.

HH

hairryharry | 1 May 2011 11:53

Calendar misaligned

Sorry sorted myself.

Gradually added back .emacs sections and found it due to messing with 
default font - using comic sans.

All ok now.

HH

Hi,

Quite a newbie to emacs but have it set up and using org-mode and
generally very happy.

However when I bring up the calendar buffer the dates are ok in the
first month but become misaligned from the related day columns in the
other 2 months.

Have reset font and things but no change - googled with no answer.

Any advice appreciated.

HH

hairryharry | 1 May 2011 11:44

Calendar misaligned

Hi,

Quite a newbie to emacs but have it set up and using org-mode and 
generally very happy.

However when I bring up the calendar buffer the dates are ok in the 
first month but become misaligned from the related day columns in the 
other 2 months.

Have reset font and things but no change - googled with no answer.

Any advice appreciated.

HH

Taylor Venable | 2 May 2011 02:22
Gravatar

Re: Strange slowness when killing words interactively

On Tue, Apr 26, 2011 at 21:30, Taylor Venable <taylor <at> metasyntax.net> wrote:
> Hi, I'm having a strange problem with C-<backspace>
> (backward-kill-word) and looking for some help in trying to debug it.
> When I use this keystroke, the CPU usage spikes. The same goes for
> C-<delete> (forward-kill-word) or any other key that I bind to either
> of these functions. Other functions, such as backward-kill-sexp and
> backward-kill-sentence, are similarly problematic. As a result, when I
> hold the key down, my high repeat rate makes Emacs unresponsive for a
> second until whatever is slowing down catches up. It happens with the
> GTK GUI, but not with the text user interface. None of my other
> machines have this behaviour with the same version of Emacs (that
> includes one machine which is running the same distribution [Arch
> Linux] with the same packages). No other programs on this system are
> affected by performance problems when deleting words of text from a
> block. The problem occurs with and without using -q. There does not
> seem to be the same problem if I run the kill function itself with
> C-u; for example, C-u 1000 backward-kill-word is instant. What's the
> best way to profile this and figure out where my CPU cycles are being
> eaten? Thanks for any help, my version information is below. I built
> from fully updated bzr trunk tonight.
>
> M-x emacs-version
> GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.1) of
> 2011-04-26
>
> gcc --version
> gcc (GCC) 4.6.0 20110415 (prerelease)
>
> uname -a
> Linux system76 2.6.38-ARCH #1 SMP PREEMPT Sun Apr 17 15:18:58 CEST
(Continue reading)

Kevin Rodgers | 2 May 2011 15:16
Picon

Re: Emacs key bindings not working

On 4/29/11 6:37 PM, Ravi.Balasubramanian <at> emc.com wrote:
> Hi all,
> I recently installed the p4.el library for emacs integration with perforce. It makes life so much easier
working with p4 and emacs. However, I have installed the library and have added the following lines to my .emacs:
>
> (require 'p4)
> (load-library "p4")

You don't need both, either one should do.

--

-- 
Kevin Rodgers
Denver, Colorado, USA

Vaclav Havlik | 1 May 2011 19:53
Picon
Favicon

Cannot get Cedet working.

Hello,
could anybody advise me on this?

I am on Ubuntu 9.04 (hopefully it is not important). I downloaded emacs-23.3 . Then
$ ./configure --prefix=/home/johny/local/emacs --with-xpm=no --with-jpeg=no --with-png=no
--with-gif=no --with-tiff=no
$ make
$ make install

My ~/.emacs is
;;;;;;;;;;;
(global-ede-mode t)
;;;;;;;

I open the editor 
$ /home/johny/local/emacs/bin/emacs
 I do
M-x ede-new
then it creates Project.ede containing
;; Object hello
;; EDE project file.
(ede-proj-project "hello"
  :name "hello"
  :file "Project.ede"
  :targets 'nil
  )

And now it happens: I cannot find a way to create any target. The documentation is strange.
Development->Project Options->Add Target is disabled.
When I do
(Continue reading)

Mark S | 2 May 2011 04:07
Picon
Favicon

word-search-forward Bindings ... changed?

Using Emacs 23.2.

The Oreilly book and other documentation online says that we can invoked  
word-search-forward by

   ctl-c <return> ctl-w "search text"

Instead one sees this message briefly:

   "the mark is not set now, so there is no region"

and then a search prompt. But a phrase typed here is not found (i.e.  
ignoring punctuation and line ends) the way it is found if the  
word-search-forward command is given as a command.

Is this a bug, or has the invocation sequence change?

Thanks!
Mark


Gmane