Jay Cotton | 1 Sep 2005 01:22

Using X (instead of a terminal) in Emacs compiled from CVS

I am trying to set up the latest Emacs on Ubuntu (to replace the 
slighter older version I got with apt-get). I configured --with-x and 
compiled/installed without any issues, but when I execute the new Emacs, 
it runs in the terminal instead of an X window. The older Emacs will run 
happily with or without X. Any Ubuntu/Debian users out there know what 
could be different with the one that I compiled?

Thanks,
Jay
Roy Smith | 1 Sep 2005 01:50
Picon
Favicon
Gravatar

Re: How to indent on LOCK(); macro???

In article <drh4fd.76.ln <at> acm.acm>, Alan Mackenzie <acm <at> muc.de> wrote:
> And if you're not a Lisp hacker (or can't be bothered), say so, and I'll
> throw some code together for you.

Wow.  An offer I can't refuse.  Thanks!
Qiang | 1 Sep 2005 04:29
Favicon

How can I store myfile as pdf type using emacs?

I want to store my file edited by emacs as pdf type. I wonder if there is one .el file able to execute this
function. 
Can you tell me?
Stefan Monnier | 1 Sep 2005 05:43
Picon

Re: scroll mouse

> In your custom.el, add the line
>  '(mouse-wheel-mode t nil (mwheel))
> to the custom-set-variables list.

You mean the "list" that starts with a warning like:

  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.

Please don't recommend such things to others:
Either use M-x customize-variable RET mouse-wheel-mode RET
or add (mouse-wheel-mode 1) in your .emacs.

        Stefan
Sean Sieger | 1 Sep 2005 05:34
Picon

Re: Using X (instead of a terminal) in Emacs compiled from CVS

Jay Cotton <jay <at> fleeingrabbit.com> writes:

   I am trying to set up the latest Emacs on Ubuntu (to replace the 
   slighter older version I got with apt-get). I configured --with-x and 
   compiled/installed without any issues, but when I execute the new Emacs, 
   it runs in the terminal instead of an X window. The older Emacs will run 
   happily with or without X. Any Ubuntu/Debian users out there know what 
   could be different with the one that I compiled?

Jay, I compiled CVS Emacs on Ubuntu GNU/Linux with no options,
I may be wrong, but that option is to configure Emacs to compile
with no X, '--with-x=no', instead of the default in which the
configure script looks for X.
--

-- 
Sean Sieger
Stefan Monnier | 1 Sep 2005 06:00
Picon

Re: texinfo-fill-workaround.el -- no break after <at> : when filling

> and a similarly tiny function for no break after <a in html "<a href",
> which I think much improves human readability
> 	http://www.emacswiki.org/cgi-bin/wiki/HtmlMode

In Emacs-22, this is already done for all tags:

   (defun sgml-fill-nobreak ()
     ;; Don't break between a tag name and its first argument.
     (save-excursion
       (skip-chars-backward " \t")
       (and (not (zerop (skip-syntax-backward "w_")))
            (skip-chars-backward "/?!")
            (eq (char-before) ?<))))

Only problem is that with <a href="..." the URL is often so long that the
space between <a and href is the only space on the line so fill.el ignores
fill-nobreak-predicate.

        Stefan
Mathias Dahl | 1 Sep 2005 12:56
Picon

Re: delete-char deletes marked text sometimes and sometimes not

"rgb" <rbielaws <at> i1.net> writes:

> Could this be it?
>
> mouse-region-delete-keys's value is
> ([delete]
>  [deletechar])
>
>
> List of keys which shall cause the mouse region to be deleted.

Aha!

I have no problems with that but it seems to me that it should behave
according to `delete-selection-mode'.

OTOH, the problem is probably me, failing to understand that there is
a difference between a region marked with the mouse and marked using
temporary transient mark mode.

/Mathias
William XWL | 1 Sep 2005 12:31
Picon
Gravatar

Re: Color-theme & Emacs crash

"rgb" <rbielaws <at> i1.net> writes:

> Chris McMahan wrote:
>> I would highly recommend you take a look at the emacs color-theme
>> package. I have been using it regularly for some time now!
>>
>> http://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme
>
> I keep hearing about this and decided to try it.  I
> downloaded 6.5.5 and I'm running CVS Emacs on Windows XP.
> I was trying to look at all the themes available and had
> looked at about 20 (some more than once) when Emacs crashed.
>
> Does anyone know if it's related to my trying to check out
> every theme available?  If I just pick a theme and stick with
> with it can I safely work without worry of a sporadic crash?

I'm using color-theme 6.5.0 on Emacs 22.0.50.1, Linux. It works pretty
well for long.

--
William
Francisco Borges | 1 Sep 2005 14:46
Picon
Favicon

local key swap? alternatives?

Hello,

I'm running Emacs 22.0.50.1 which I got from KarolyLorentey's multi-tty
branch, as I don't think this is related to multi-tty's patch I'm
posting here...

Long ago I came with the idea to swap keys in LaTeX buffers to be able
to type popular LaTeX characters without SHIFT, namely $%^&*()_{}.

So I thought of swapping ($,4), (%,5) etc but I wanted it only for
LaTeX-mode and never figured out how to perform a local key
swap. Instead I modified lisp/double.el to use doubles as (?4 "$" "4")
(?5 "%" "5") etc, e.g. hitting '4' once I get '$', hit twice I get '4'.
To get a decent compromise.

With my last compilation of emacs (22.0.50.1), this has stopped
working.

Two questions:

1. Is there an easy way for me to get this to work again?

2. Would anyone recommend another approach to the problem? Is there a
way to swap keys locally in Emacs?

                           -----

Thank you for your attention,
Francisco.

(Continue reading)

Jay Cotton | 1 Sep 2005 14:40

Re: Using X (instead of a terminal) in Emacs compiled from CVS

Well, configure options aside, one problem was that I didn't have 
xlib-dev installed on the system. Once I got that everything worked 
(with the default options for configure, as you suggested).

Thanks.

Sean Sieger wrote:

>Jay Cotton <jay <at> fleeingrabbit.com> writes:
>
>   I am trying to set up the latest Emacs on Ubuntu (to replace the 
>   slighter older version I got with apt-get). I configured --with-x and 
>   compiled/installed without any issues, but when I execute the new Emacs, 
>   it runs in the terminal instead of an X window. The older Emacs will run 
>   happily with or without X. Any Ubuntu/Debian users out there know what 
>   could be different with the one that I compiled?
>
>Jay, I compiled CVS Emacs on Ubuntu GNU/Linux with no options,
>I may be wrong, but that option is to configure Emacs to compile
>with no X, '--with-x=no', instead of the default in which the
>configure script looks for X.
>  
>

Gmane