all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 24: cursor shape is now i
@ 2012-05-07 13:42 Xah Lee
  2012-05-07 14:44 ` XeCycle
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Xah Lee @ 2012-05-07 13:42 UTC (permalink / raw)
  To: help-gnu-emacs

In emacs 24, the cursor shape seems to have changed from a solid box
to i-beam?

however, setting the following won't work?

(setq cursor-type 'box)
(setq cursor-type 'bar)

any hints on what's going on?

 Xah


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

* Re: emacs 24: cursor shape is now i
  2012-05-07 13:42 emacs 24: cursor shape is now i Xah Lee
@ 2012-05-07 14:44 ` XeCycle
  2012-05-07 14:51   ` Drew Adams
       [not found] ` <mailman.745.1336401958.855.help-gnu-emacs@gnu.org>
  2017-04-17 21:15 ` sunchen8635
  2 siblings, 1 reply; 12+ messages in thread
From: XeCycle @ 2012-05-07 14:44 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Xah Lee <xahlee@gmail.com> writes:

> In emacs 24, the cursor shape seems to have changed from a solid box
> to i-beam?
>
> however, setting the following won't work?
>
> (setq cursor-type 'box)
> (setq cursor-type 'bar)

Works for me.

> any hints on what's going on?

Did you forget that it's buffer-local?

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

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

* RE: emacs 24: cursor shape is now i
  2012-05-07 14:44 ` XeCycle
@ 2012-05-07 14:51   ` Drew Adams
  0 siblings, 0 replies; 12+ messages in thread
From: Drew Adams @ 2012-05-07 14:51 UTC (permalink / raw)
  To: 'XeCycle', help-gnu-emacs

> > In emacs 24, the cursor shape seems to have changed from a solid box
> > to i-beam? however, setting the following won't work?
> > (setq cursor-type 'box)
> > (setq cursor-type 'bar)
> 
> Works for me.
> Did you forget that it's buffer-local?

I too do not see any such change.  The behavior with `emacs -Q' seems to be the
same on Emacs 23, 24 pretest, and latest 24 build, all on Windows.

Check your init file, to be sure you are not doing something that affects this
behavior.




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

* Re: emacs 24: cursor shape is now i
       [not found] ` <mailman.745.1336401958.855.help-gnu-emacs@gnu.org>
@ 2012-05-07 18:17   ` Xah Lee
  2012-05-07 18:32     ` Drew Adams
       [not found]     ` <mailman.763.1336415544.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Xah Lee @ 2012-05-07 18:17 UTC (permalink / raw)
  To: help-gnu-emacs

On May 7, 7:44 am, XeCycle <XeCy...@Gmail.com> wrote:
> Xah Lee <xah...@gmail.com> writes:
> > In emacs 24, the cursor shape seems to have changed from a solid box
> > to i-beam?
>
> > however, setting the following won't work?
>
> > (setq cursor-type 'box)
> > (setq cursor-type 'bar)
>
> Works for me.
>
> > any hints on what's going on?
>
> Did you forget that it's buffer-local?
> Carl Lei (XeCycle)

thanks Carl Lei and Drew Adams.

it's strange.

this is

GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN

started with -Q.

it display cursor as i-beam.

Then, if i paste this

(setq cursor-type 'box)

evaluate it, it has no effect in the display. (but the variable did
get set, verified with describe-variable)

i found on the web another guy who had similar problem
http://sinewalker.wordpress.com/2011/11/30/curious-cursor-complication-with-emacs-and-windows-magnifier/

but mine isn't related to Windows magnifier he speaks of. I don't have
that turned on.

 Xah


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

* RE: emacs 24: cursor shape is now i
  2012-05-07 18:17   ` Xah Lee
@ 2012-05-07 18:32     ` Drew Adams
       [not found]     ` <mailman.763.1336415544.855.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Drew Adams @ 2012-05-07 18:32 UTC (permalink / raw)
  To: 'Xah Lee', help-gnu-emacs

> GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN
> started with -Q.

I tried with this, which is pretty close, if not identical:

In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
 of 2012-04-23 on MARVIN
Bzr revision: 108006
agustin.martin@hispalinux.es-20120423103325-xmra3329elgzhmpc
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'

> it display cursor as i-beam.

Are you sure you don't mean the mouse pointer?  The cursor (aka text cursor) is
what indicates point, which is where text gets inserted.

I see the mouse pointer as an I-beam or an arrow, depending on what the mouse is
over.  But I see the cursor as a box (by default).

> Then, if i paste this
> (setq cursor-type 'box)
> evaluate it, it has no effect in the display. (but the variable did
> get set, verified with describe-variable)

See above.  My crystal ball is trying to tell me that you are looking at the
mouse pointer but setting the text cursor type.

You change the mouse pointer shape using variable (not an option)
`x-pointer-shape'.  But I don't think it is possible to change the pointer shape
on MS Windows.  See (elisp) `Pointer Shape'.




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

* Re: emacs 24: cursor shape is now i
       [not found]     ` <mailman.763.1336415544.855.help-gnu-emacs@gnu.org>
@ 2012-05-08  1:54       ` Xah Lee
  2012-05-08  3:54         ` Xah Lee
  0 siblings, 1 reply; 12+ messages in thread
From: Xah Lee @ 2012-05-08  1:54 UTC (permalink / raw)
  To: help-gnu-emacs

On May 7, 11:32 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN
> > started with -Q.
>
> I tried with this, which is pretty close, if not identical:
>
> In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
>  of 2012-04-23 on MARVIN
> Bzr revision: 108006
> agustin.mar...@hispalinux.es-20120423103325-xmra3329elgzhmpc
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> Configured using:
>  `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
>  -ID:/devel/emacs/libs/libXpm-3.5.8/include
>  -ID:/devel/emacs/libs/libXpm-3.5.8/src
>  -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
>  -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
>  -ID:/devel/emacs/libs/giflib-4.1.4-1/include
>  -ID:/devel/emacs/libs/jpeg-6b-4/include
>  -ID:/devel/emacs/libs/tiff-3.8.2-1/include
>  -ID:/devel/emacs/libs/gnutls-3.0.9/include
>  -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
>  -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
>
> > it display cursor as i-beam.
>
> Are you sure you don't mean the mouse pointer?  The cursor (aka text cursor) is
> what indicates point, which is where text gets inserted.
>
> I see the mouse pointer as an I-beam or an arrow, depending on what the mouse is
> over.  But I see the cursor as a box (by default).
>
> > Then, if i paste this
> > (setq cursor-type 'box)
> > evaluate it, it has no effect in the display. (but the variable did
> > get set, verified with describe-variable)
>
> See above.  My crystal ball is trying to tell me that you are looking at the
> mouse pointer but setting the text cursor type.
>
> You change the mouse pointer shape using variable (not an option)
> `x-pointer-shape'.  But I don't think it is possible to change the pointer shape
> on MS Windows.  See (elisp) `Pointer Shape'.

this is very strange. No, it's not mouse pointer.

in summery, the problem went away. The cursor is now the normal solid
box, even if i load ALL my inits. The problem was happening to GNU
Emacs with -Q. Very odd indeed.

here's the interesting part. When trying to reproduce this or research
this in more detail, i actually renamed my .emacs (even i have no
reason to, because i was starting FSF's build of GNU emacs, with -Q,
and was reproducible 100%). But anyway, on a whim i renamed my .emacs.
Then, the problem never showed up, no matter what i do or from what
emacs version, nor showing up when i launch my heavily customized
emacs full.

i think that guy's blog in my previous post has something to do with
it. Certainly a odd problem. Maybe something to do with some lowlevel
rendering/display system on Windows.

Thanks for all the help. I'll report more if it happens again and i
can reproduce it.

 Xah


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

* Re: emacs 24: cursor shape is now i
  2012-05-08  1:54       ` Xah Lee
@ 2012-05-08  3:54         ` Xah Lee
  2012-10-24  6:51           ` zhanyingjian
  0 siblings, 1 reply; 12+ messages in thread
From: Xah Lee @ 2012-05-08  3:54 UTC (permalink / raw)
  To: help-gnu-emacs

On May 7, 6:54 pm, Xah Lee <xah...@gmail.com> wrote:
> On May 7, 11:32 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
>
>
>
>
>
>
>
>
>
> > > GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN
> > > started with -Q.
>
> > I tried with this, which is pretty close, if not identical:
>
> > In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
> >  of 2012-04-23 on MARVIN
> > Bzr revision: 108006
> > agustin.mar...@hispalinux.es-20120423103325-xmra3329elgzhmpc
> > Windowing system distributor `Microsoft Corp.', version 5.1.2600
> > Configured using:
> >  `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
> >  -ID:/devel/emacs/libs/libXpm-3.5.8/include
> >  -ID:/devel/emacs/libs/libXpm-3.5.8/src
> >  -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
> >  -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
> >  -ID:/devel/emacs/libs/giflib-4.1.4-1/include
> >  -ID:/devel/emacs/libs/jpeg-6b-4/include
> >  -ID:/devel/emacs/libs/tiff-3.8.2-1/include
> >  -ID:/devel/emacs/libs/gnutls-3.0.9/include
> >  -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
> >  -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
>
> > > it display cursor as i-beam.
>
> > Are you sure you don't mean the mouse pointer?  The cursor (aka text cursor) is
> > what indicates point, which is where text gets inserted.
>
> > I see the mouse pointer as an I-beam or an arrow, depending on what the mouse is
> > over.  But I see the cursor as a box (by default).
>
> > > Then, if i paste this
> > > (setq cursor-type 'box)
> > > evaluate it, it has no effect in the display. (but the variable did
> > > get set, verified with describe-variable)
>
> > See above.  My crystal ball is trying to tell me that you are looking at the
> > mouse pointer but setting the text cursor type.
>
> > You change the mouse pointer shape using variable (not an option)
> > `x-pointer-shape'.  But I don't think it is possible to change the pointer shape
> > on MS Windows.  See (elisp) `Pointer Shape'.
>
> this is very strange. No, it's not mouse pointer.
>
> in summery, the problem went away. The cursor is now the normal solid
> box, even if i load ALL my inits. The problem was happening to GNU
> Emacs with -Q. Very odd indeed.
>
> here's the interesting part. When trying to reproduce this or research
> this in more detail, i actually renamed my .emacs (even i have no
> reason to, because i was starting FSF's build of GNU emacs, with -Q,
> and was reproducible 100%). But anyway, on a whim i renamed my .emacs.
> Then, the problem never showed up, no matter what i do or from what
> emacs version, nor showing up when i launch my heavily customized
> emacs full.
>
> i think that guy's blog in my previous post has something to do with
> it. Certainly a odd problem. Maybe something to do with some lowlevel
> rendering/display system on Windows.
>
> Thanks for all the help. I'll report more if it happens again and i
> can reproduce it.
>
>  Xah

found the answer.

when Microsoft Speech Recognition is on, even in a not listening
state, the cursor will be i-beam, even if you start emacs with -Q.
Setting cursor-type has no effect, just like the other guy blogged
about. (his's problem is when screen magnify is on)

 Xah


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

* Re: emacs 24: cursor shape is now i
  2012-05-08  3:54         ` Xah Lee
@ 2012-10-24  6:51           ` zhanyingjian
  2012-10-25  0:14             ` drain
  0 siblings, 1 reply; 12+ messages in thread
From: zhanyingjian @ 2012-10-24  6:51 UTC (permalink / raw)
  To: help-gnu-emacs

I run into the same problem. And I checked the speech recognition and screen magnify, both are turned off. Any suggestions?
BTW, I do think it's related with some office option.


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

* Re: emacs 24: cursor shape is now i
  2012-10-24  6:51           ` zhanyingjian
@ 2012-10-25  0:14             ` drain
  0 siblings, 0 replies; 12+ messages in thread
From: drain @ 2012-10-25  0:14 UTC (permalink / raw)
  To: Help-gnu-emacs

Is there a technical reason to prefer bar / box / hollow? i.e.,
why is box the default setting for the variable?





--
View this message in context: http://emacs.1067599.n5.nabble.com/emacs-24-cursor-shape-is-now-i-tp91670p268004.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



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

* Re: emacs 24: cursor shape is now i
  2012-05-07 13:42 emacs 24: cursor shape is now i Xah Lee
  2012-05-07 14:44 ` XeCycle
       [not found] ` <mailman.745.1336401958.855.help-gnu-emacs@gnu.org>
@ 2017-04-17 21:15 ` sunchen8635
  2017-04-17 21:24   ` sunchen8635
  2 siblings, 1 reply; 12+ messages in thread
From: sunchen8635 @ 2017-04-17 21:15 UTC (permalink / raw)
  To: help-gnu-emacs

On Monday, May 7, 2012 at 9:42:31 AM UTC-4, Xah Lee wrote:
> In emacs 24, the cursor shape seems to have changed from a solid box
> to i-beam?
> 
> however, setting the following won't work?
> 
> (setq cursor-type 'box)
> (setq cursor-type 'bar)
> 
> any hints on what's going on?
> 
>  Xah

I am experiencing exactly the same issue which drives me crazy. Changing the variables or editing .emacs has no effect on it. Any idea? Windows 10 with emacs 25.1.1.


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

* Re: emacs 24: cursor shape is now i
  2017-04-17 21:15 ` sunchen8635
@ 2017-04-17 21:24   ` sunchen8635
  2017-04-21  9:40     ` Jason Rumney
  0 siblings, 1 reply; 12+ messages in thread
From: sunchen8635 @ 2017-04-17 21:24 UTC (permalink / raw)
  To: help-gnu-emacs

On Monday, April 17, 2017 at 5:15:48 PM UTC-4, sunch...@gmail.com wrote:
> On Monday, May 7, 2012 at 9:42:31 AM UTC-4, Xah Lee wrote:
> > In emacs 24, the cursor shape seems to have changed from a solid box
> > to i-beam?
> > 
> > however, setting the following won't work?
> > 
> > (setq cursor-type 'box)
> > (setq cursor-type 'bar)
> > 
> > any hints on what's going on?
> > 
> >  Xah
> 
> I am experiencing exactly the same issue which drives me crazy. Changing the variables or editing .emacs has no effect on it. Any idea? Windows 10 with emacs 25.1.1.

Oh by the way, when I followed what was described and load emacs without an init file, i.e. through emacs -Q, then close and launch emacs the usual way, everything works just fine. I got the right cursor shape with the right cursor color. Isnt it weird...


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

* Re: emacs 24: cursor shape is now i
  2017-04-17 21:24   ` sunchen8635
@ 2017-04-21  9:40     ` Jason Rumney
  0 siblings, 0 replies; 12+ messages in thread
From: Jason Rumney @ 2017-04-21  9:40 UTC (permalink / raw)
  To: help-gnu-emacs

On Tuesday, 18 April 2017 05:24:32 UTC+8, sunch...@gmail.com  wrote:

> > On Monday, May 7, 2012 at 9:42:31 AM UTC-4, Xah Lee wrote:
> > > In emacs 24, the cursor shape seems to have changed from a solid box
> > > to i-beam?
> > > 
> > 
> > I am experiencing exactly the same issue which drives me crazy. Changing the variables or editing .emacs has no effect on it. Any idea? Windows 10 with emacs 25.1.1.
> 
> Oh by the way, when I followed what was described and load emacs without an init file, i.e. through emacs -Q, then close and launch emacs the usual way, everything works just fine. I got the right cursor shape with the right cursor color. Isnt it weird...

Emacs may have detected some sort of assistive device (like screen magnifier, or a screen reader) active at the time of startup the first time.

When such software is detected, Emacs uses a native Windows cursor so that the assistive software can track the cursor properly and do its job.
The variables that control the look of Emacs cursor do not work when the native Windows cursor is being used.


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

end of thread, other threads:[~2017-04-21  9:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 13:42 emacs 24: cursor shape is now i Xah Lee
2012-05-07 14:44 ` XeCycle
2012-05-07 14:51   ` Drew Adams
     [not found] ` <mailman.745.1336401958.855.help-gnu-emacs@gnu.org>
2012-05-07 18:17   ` Xah Lee
2012-05-07 18:32     ` Drew Adams
     [not found]     ` <mailman.763.1336415544.855.help-gnu-emacs@gnu.org>
2012-05-08  1:54       ` Xah Lee
2012-05-08  3:54         ` Xah Lee
2012-10-24  6:51           ` zhanyingjian
2012-10-25  0:14             ` drain
2017-04-17 21:15 ` sunchen8635
2017-04-17 21:24   ` sunchen8635
2017-04-21  9:40     ` Jason Rumney

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.