all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* prob. bugs in emacs under ubuntu
@ 2008-01-10 17:19 yjgzhang
  2008-01-11  0:45 ` David Brodbeck
       [not found] ` <mailman.6016.1200012361.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: yjgzhang @ 2008-01-10 17:19 UTC (permalink / raw)
  To: help-gnu-emacs

 I used to use emacs under Fedora and Mandriva. The emacs under those
two linux distributions has no problem at all. But when i transfered
to ubuntu, I lost the highlighting of a marked region, i.e., the
selected region using keyboard can not be highlighted. E.g, when you
using \C+space mark a begining of a region, and then using the left or
right arrows to move the cursor, nothing happened (it is supposed to
extend the colored region from the position where \C + space marked).
However, when I reach the end of the region, and using alt+w to cut
it, it still works. This problem is very annoying when you using the
keyboard for editing in Emacs, because you can not see the selected
region, they are in darks.

I also try to emacs -q to ignore my profile, the same thing happened.
Does anyone can tell me how to solve this problem?

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: prob. bugs in emacs under ubuntu
  2008-01-10 17:19 prob. bugs in emacs under ubuntu yjgzhang
@ 2008-01-11  0:45 ` David Brodbeck
       [not found] ` <mailman.6016.1200012361.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: David Brodbeck @ 2008-01-11  0:45 UTC (permalink / raw)
  To: emacs list


On Jan 10, 2008, at 9:19 AM, yjgzhang@gmail.com wrote:

> I used to use emacs under Fedora and Mandriva. The emacs under those
> two linux distributions has no problem at all. But when i transfered
> to ubuntu, I lost the highlighting of a marked region, i.e., the
> selected region using keyboard can not be highlighted. E.g, when you
> using \C+space mark a begining of a region, and then using the left or
> right arrows to move the cursor, nothing happened (it is supposed to
> extend the colored region from the position where \C + space marked).
> However, when I reach the end of the region, and using alt+w to cut
> it, it still works.

You need to enable transient-mark-mode.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: prob. bugs in emacs under ubuntu
       [not found] ` <mailman.6016.1200012361.18990.help-gnu-emacs@gnu.org>
@ 2008-01-11 12:46   ` yjgzhang
  2008-01-11 14:15     ` yjgzhang
  0 siblings, 1 reply; 4+ messages in thread
From: yjgzhang @ 2008-01-11 12:46 UTC (permalink / raw)
  To: help-gnu-emacs

I enabled the Transient Mark Mode, but problem still exists
Any help?
Is this because the following warning message when I started emacs?
------------------------------
(emacs:6041): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: prob. bugs in emacs under ubuntu
  2008-01-11 12:46   ` yjgzhang
@ 2008-01-11 14:15     ` yjgzhang
  0 siblings, 0 replies; 4+ messages in thread
From: yjgzhang @ 2008-01-11 14:15 UTC (permalink / raw)
  To: help-gnu-emacs

I found the solutions:

in the default settings of emacs under ubuntu, the key has been set
as

(global-set-key [right] 'forward-char-nomark)
(global-set-key [left] 'backward-char-nomark)
(global-set-key [up] 'previous-line-nomark)
(global-set-key [down] 'next-line-nomark)

In .emacs set following command

(global-set-key [right] 'forward-char)
(global-set-key [left] 'backward-char)
(global-set-key [up] 'previous-line)
(global-set-key [down] 'next-line)

Now this is the same as the default settings with emacs under other
linux distributions e.g. fedora or mandriva

I do not know why Ubuntu has such a strange change?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-11 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-10 17:19 prob. bugs in emacs under ubuntu yjgzhang
2008-01-11  0:45 ` David Brodbeck
     [not found] ` <mailman.6016.1200012361.18990.help-gnu-emacs@gnu.org>
2008-01-11 12:46   ` yjgzhang
2008-01-11 14:15     ` yjgzhang

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.