Package Base Details: emacs-gtk2

Git Clone URL: https://aur-dev.archlinux.org/emacs-gtk2.git (read-only)
Submitter: maandree
Maintainer: maandree (fusion809)
Last Packager: fusion809
Votes: 15
Popularity: 0.000481
First Submitted: 2012-08-30 19:43
Last Updated: 2016-10-10 09:32

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

maandree commented on 2013-08-03 16:06

s/additional/additionally/

By default, graphical and xterm-256color use many colours, and I think the defaults look really bad, so I use xterm so that 8 colours are used which I think look excellent, but if TERM = linux the the different colours are used. For example if you open /etc/rc.conf with xterm you will see that the comments are red, but if TERM=linux the comments will be yellow.

maandree commented on 2013-08-03 15:40

s/additional/additionally/

By default, graphical and xterm-256color use many colours, and I think the defaults look really bad, so I use xterm so that 8 colours are used which I think look excellent, but if TERM = linux the the different colours are used. For example if you open /etc/rc.conf with xterm you will see that the comments are red, but if TERM=linux the comments will be yellow.

Ambrevar commented on 2013-08-03 15:40

There is an error in the install script with the info names. The one from the
Arch repo works fine.

Ambrevar commented on 2013-08-03 15:34

You can customize emacs mouse keys to act the same way as xterm does.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Mouse-Buttons.html

A simple solution would be to bind it to a lambda like

(lambda (start-event)
(save-excursion
(mouse-drag-region start-event)
(kill-ring-save)))

This is just a draft, I haven't tested this. If you don't succeed in doing this,
I can try to make it work for real.

What do you mean by getting additional color in a TTY? More than 8? Can you
explain this a little, I'm quite interested.

Also I started building my own kbd to have better Emacs support under a TTY, but
this is a nightmare to set up. Do you have some interesting kbd files to share?
That would be great! :)

Ambrevar commented on 2013-08-03 15:26

You can customize emacs mouse keys to act the same way as xterm does.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Mouse-Buttons.html

A simple solution would be to bind it to a lambda like

(lambda (start-event)
(save-excursion
(mouse-drag-region start-event)
(kill-ring-save)))

This is just a draft, I haven't tested this. If you don't succeed in doing this,
I can try to make it work for real.

What do you mean by getting additional color in a TTY? More than 8? Can you
explain this a little, I'm quite interested.

Also I started building my own kbd to have better Emacs support under a TTY, but
this is a nightmare to set up. Do you have some interesting kbd files to share?
That would be great! :)

maandree commented on 2013-08-03 14:59

Who uses the default font?

Terminal mode sure has drawbacks, but I still
think it is more convinent for what I am doing.

emacs-nox has lots for drawbacks compared
to emacs installed started in the terminal,
which is quite weird.

I prefer terminal mode beause I live in the terminal,
and I think the text selection (with the rat) behaviour
is the best under xterm because it does not move the
point. So in the the TTY I trick emacs to thinking I use
Xterm, which additional gives better colours, and I
have a custom keyboard layout so that everything
works perfectly.
The only time I use graphical mode is when I doing
lot of file management, because then I use the graphical
file manager and I can just middle click on a text file
to open Emacs and if it is open, just drag it in.
And on my laptop and netbook I only use TTY, not X.

maandree commented on 2013-08-03 14:59

Who uses the default font?

Terminal mote sure has drawbacks, but I still
think it is more convinent for what I am doing.

emacs-nox has lots for drawbacks compared
to emacs installed started in the terminal,
which is quite weird.

I prefer terminal mode beause I live in the terminal,
and I think the text selection (with the rat) behaviour
is the best under xterm because it does not move the
point. So in the the TTY i trick emacs to thinking I use
Xterm, which additional gives better colours, and I
have a custom keyboard layout so that everything
works perfectly.
The only time I use graphical mode is when I doing
lot of file management, because then I use the graphical
file manager and I can just middle click on a text file
to open Emacs and if it is open, just drag it in.
And on my laptop and netbook I only use TTY, not X.

Ambrevar commented on 2013-08-03 14:45

Gconf is only used to fetch Gnome default font. It is explained here:

http://www.gnu.org/software/emacs/news/NEWS.23.2

This is one of the most overkill dependency I've ever seen: several dozen of MB
just to get the default font value for one environment...

I'm using GTK2 instead of motif/athena/lucid because they tend to crash the
emacs server after the ~tenth launch of emacsclient. I don't know why, if
someone has a clue...

I've quit using emacs in console because it has a lot of drawbacks compared to
the graphical version:

* No more `face' breaks because of invisible character insertion (gdb would
break very often because of this, sometime indentation and syntax highlighting
would also fail for the same reason). This is the

* Some modes will require the graphical version (e.g. speedbar).

* Picture support (PDF preview, inline math formula preview in LaTeX).

* There is additional font capabilities (zoom, different size in the same doc
like in info mode, etc.).

* The mouse support is excellent (for resizing windows for example). Albeit
quite useless for me.

* If you work with other people (non-emacs users) and they want to browse your
documents in emacs, you can be 100% sure they will use the mouse scrolling. In
emacs-nox, this will rewind the output of the terminal, which is quite
confusing. Besides thanks to mouse support, a non-emacs user can still do a
lot of stuff.

* It supports more colors, even though 256 are good enough on a good terminal like URxvt.

Actually the graphical version has no drawbacks in my opinion, if you forget
that it requires X. It has almost no additional dependencies, and you can still
start it in a TTY. I remove the fanciness like the toolbar and the scrollbar to
have the same appearance.

That's why I believe your package is really important for all emacs users:
combinining the advantages of emacs-nox and emacs, while removing the drawbacks.

maandree commented on 2013-08-02 19:16

The main purpose of using gtk2, for me, is so that it does not look like crap the few times I open it in X mode.

maandree commented on 2013-08-02 19:13

The main purpose of using gtk2, for me, is so that it does not look like crap the few times I open it in X mode.