unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Disabling blinking cursor
@ 2005-10-20  8:22 onestatusquo
  2005-10-20 10:02 ` Michael Cadilhac
       [not found] ` <mailman.11990.1129802432.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 16+ messages in thread
From: onestatusquo @ 2005-10-20  8:22 UTC (permalink / raw)


This is in emacs 21.3.1 on FC3. The cursor is blinking. I tried to
disable it
in .emacs with  the following but neither one had effect. Any
suggestions?

(blink-cursor-mode 0)           
(setq blink-cursor-mode nil)

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

* Re: Disabling blinking cursor
  2005-10-20  8:22 Disabling blinking cursor onestatusquo
@ 2005-10-20 10:02 ` Michael Cadilhac
       [not found] ` <mailman.11990.1129802432.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 16+ messages in thread
From: Michael Cadilhac @ 2005-10-20 10:02 UTC (permalink / raw)
  Cc: help-gnu-emacs

onestatusquo@yahoo.com writes:

> This is in emacs 21.3.1 on FC3. The cursor is blinking. I tried to
> disable it
> in .emacs with  the following but neither one had effect. Any
> suggestions?
>
> (blink-cursor-mode 0)           

  This one should work. Don't know about 21.3.1, but have you tried
  (blink-cursor-mode -1)
  ?

  Look at C-h f blink-cursor-mode RET.

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |  Please note that you should
  2 rue de la Convention | 08.70.65.13.14 |  s/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |

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

* Re: Disabling blinking cursor
       [not found] ` <mailman.11990.1129802432.20277.help-gnu-emacs@gnu.org>
@ 2005-10-20 16:23   ` onestatusquo
  2005-10-20 16:44     ` Bastien
  0 siblings, 1 reply; 16+ messages in thread
From: onestatusquo @ 2005-10-20 16:23 UTC (permalink / raw)


What is "C-h f" ?

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

* Re: Disabling blinking cursor
  2005-10-20 16:23   ` onestatusquo
@ 2005-10-20 16:44     ` Bastien
  2005-10-20 17:01       ` Maarten Bergvelt
  2005-10-21  0:40       ` onestatusquo
  0 siblings, 2 replies; 16+ messages in thread
From: Bastien @ 2005-10-20 16:44 UTC (permalink / raw)


onestatusquo@yahoo.com writes:

> What is "C-h f" ?

C-h k C-h f

-- 
Bastien

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

* Re: Disabling blinking cursor
  2005-10-20 16:44     ` Bastien
@ 2005-10-20 17:01       ` Maarten Bergvelt
  2005-10-21  0:40       ` onestatusquo
  1 sibling, 0 replies; 16+ messages in thread
From: Maarten Bergvelt @ 2005-10-20 17:01 UTC (permalink / raw)


In article <8764rs3zpn.fsf@xxx.fr>, Bastien wrote:
> onestatusquo@yahoo.com writes:
> 
>> What is "C-h f" ?
> 
> C-h k C-h f
> 
Very funny. Maybe onestatus needs to go through the tutorial?

-- 
Maarten Bergvelt

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

* Re: Disabling blinking cursor
  2005-10-20 16:44     ` Bastien
  2005-10-20 17:01       ` Maarten Bergvelt
@ 2005-10-21  0:40       ` onestatusquo
  2005-10-21  0:45         ` Bastien
  1 sibling, 1 reply; 16+ messages in thread
From: onestatusquo @ 2005-10-21  0:40 UTC (permalink / raw)


> C-h k C-h f

This combination does not produce anything in 21.3.1.   I have not
modified any bindings, I even removed my .emacs file.

So, any suggestions on how to disable the blinking cursor? The above
doesn't do it.

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

* Re: Disabling blinking cursor
  2005-10-21  0:40       ` onestatusquo
@ 2005-10-21  0:45         ` Bastien
  2005-10-22  4:10           ` onestatusquo
  0 siblings, 1 reply; 16+ messages in thread
From: Bastien @ 2005-10-21  0:45 UTC (permalink / raw)


onestatusquo@yahoo.com writes:

>> C-h k C-h f
>
> This combination does not produce anything in 21.3.1.   

It should produce the same than:

M-x describe-key M-x describe-function

It is not supposed to turn off the blink-cursor-mode but to enable you
to get information about a function (e.g. blink-cursor-mode.)

> I have not modified any bindings, I even removed my .emacs file.

Try M-x blink-cursor-mode - only if you run Emacs on X Window.

,----
| On window systems, the command Mx blink-cursor-mode turns on or off
| the blinking of the cursor. (On terminals, the terminal itself blinks
| the cursor.
`----

-- 
Bastien

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

* Re: Disabling blinking cursor
  2005-10-21  0:45         ` Bastien
@ 2005-10-22  4:10           ` onestatusquo
  2005-10-22  9:58             ` Michael Cadilhac
       [not found]             ` <mailman.12215.1129974958.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 16+ messages in thread
From: onestatusquo @ 2005-10-22  4:10 UTC (permalink / raw)



This is from help.
Putting this variable in my .emacs either with 0, -1 or nil does not
have any effect. What can I do?


==================================
blink-cursor-mode is an interactive compiled Lisp function in `frame'.
(blink-cursor-mode ARG)

Toggle blinking cursor mode.
With a numeric argument, turn blinking cursor mode on iff ARG is
positive.
When blinking cursor mode is enabled, the cursor of the selected
window blinks.

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

* Re: Disabling blinking cursor
  2005-10-22  4:10           ` onestatusquo
@ 2005-10-22  9:58             ` Michael Cadilhac
       [not found]             ` <mailman.12215.1129974958.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 16+ messages in thread
From: Michael Cadilhac @ 2005-10-22  9:58 UTC (permalink / raw)
  Cc: help-gnu-emacs

onestatusquo@yahoo.com writes:

> This is from help.
> Putting this variable in my .emacs either with 0, -1 or nil does not
> have any effect. What can I do?

  It's *not* a variable, but a function to be called with a negative
  argument to deactivate the feature.

  Well we'll proceed step by step:

  . Are you in a X window system ?

  . Try just M-x blink-cursor-mode RET, it should toggle the blinking
    state.

  . Try not to put the function in your .emacs, just for a test :
    Goto the *scratch* buffer and type
(blink-cursor-mode -1)
    then M-x eval-buffer RET

  . If everything of the previous worked, see if you don't already
    have the (blink-cursor-mode) call somewhere in your .emacs and be
    sure that you call it as a function.

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |  Please note that you should
  2 rue de la Convention | 08.70.65.13.14 |  s/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |

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

* Re: Disabling blinking cursor
       [not found]             ` <mailman.12215.1129974958.20277.help-gnu-emacs@gnu.org>
@ 2005-10-22 16:12               ` onestatusquo
  2005-10-25  1:13                 ` onestatusquo
  0 siblings, 1 reply; 16+ messages in thread
From: onestatusquo @ 2005-10-22 16:12 UTC (permalink / raw)


-- Michael Cadilhac <michael.cadilhac-@t-lrde.epita.fr> wrote:

>   . Are you in a X window system ?

Yes, but I am running emacs -nw
>
>   . Try just M-x blink-cursor-mode RET, it should toggle the blinking
>     state.

This was the first thing I tried.  It does not  toggle the blinking
state.

>
>   . Try not to put the function in your .emacs, just for a test :
>     Goto the *scratch* buffer and type
> (blink-cursor-mode -1)
>     then M-x eval-buffer RET

No effect either.

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

* Re: Disabling blinking cursor
  2005-10-22 16:12               ` onestatusquo
@ 2005-10-25  1:13                 ` onestatusquo
  2005-10-25  1:25                   ` Bastien
                                     ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: onestatusquo @ 2005-10-25  1:13 UTC (permalink / raw)


(blink-cursor-mode -1) works but only when I run "emacs&".

When I invoke the -nw option in an xterm, as I always do, it has no
effect and the cursor blinks no matter what I do.    A bug?

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

* Re: Disabling blinking cursor
  2005-10-25  1:13                 ` onestatusquo
@ 2005-10-25  1:25                   ` Bastien
  2005-10-26  6:02                     ` onestatusquo
  2005-10-26  8:12                   ` Andrea Vettorello
       [not found]                   ` <mailman.12745.1130315094.20277.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 16+ messages in thread
From: Bastien @ 2005-10-25  1:25 UTC (permalink / raw)


onestatusquo@yahoo.com writes:

> When I invoke the -nw option in an xterm, as I always do, it has no
> effect and the cursor blinks no matter what I do.    A bug?

No. See C-h f blink-cursor-mode:

,----[ Toggle blinking cursor mode. ]
| Note that this command is effective only when Emacs displays through
| a window system, because then Emacs does its own cursor display. On
| a text-only terminal, this is not implemented.
`----

-- 
Bastien

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

* Re: Disabling blinking cursor
  2005-10-25  1:25                   ` Bastien
@ 2005-10-26  6:02                     ` onestatusquo
  2005-10-26 15:33                       ` Kevin Rodgers
  0 siblings, 1 reply; 16+ messages in thread
From: onestatusquo @ 2005-10-26  6:02 UTC (permalink / raw)


So what is the solution? Does the latest 21.4 version of emacs come
without the annoying blinking cursor?  ( I just tried to compile it,
unssuccessfully.  )

I 've used emacs with the "-nw" flag for years because it's much
faster, almost as fast as vi.   To me, using the full-blown windowing
system is not an option, even on a fast computer.

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

* Re: Disabling blinking cursor
  2005-10-25  1:13                 ` onestatusquo
  2005-10-25  1:25                   ` Bastien
@ 2005-10-26  8:12                   ` Andrea Vettorello
       [not found]                   ` <mailman.12745.1130315094.20277.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 16+ messages in thread
From: Andrea Vettorello @ 2005-10-26  8:12 UTC (permalink / raw)


On 24 Oct 2005 18:13:17 -0700, onestatusquo@yahoo.com
<onestatusquo@yahoo.com> wrote:
> (blink-cursor-mode -1) works but only when I run "emacs&".
>
> When I invoke the -nw option in an xterm, as I always do, it has no
> effect and the cursor blinks no matter what I do.    A bug?
>

Quoted from the xterm FAQ (http://dickey.his.com/xterm/xterm.faq.html):

"Standard xterm does not implement a blinking cursor. Some of the
variations do: dtterm, GNOME Terminal, and XFree86 xterm (from mid
1999, patch 107). "

I can confirm that on Debian (Sid) the cursor on xterm doesn't blink,
at least as default. If you are using a gnome-terminal you should find
an option on "Profile" to disable blinking, instead if you are using
the text console, you can put the following line

echo -e '\033[?17;0;127c'

somewhere in your command shell startup file.

Hope this helps.


Andrea

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

* Re: Disabling blinking cursor
  2005-10-26  6:02                     ` onestatusquo
@ 2005-10-26 15:33                       ` Kevin Rodgers
  0 siblings, 0 replies; 16+ messages in thread
From: Kevin Rodgers @ 2005-10-26 15:33 UTC (permalink / raw)


onestatusquo@yahoo.com wrote:
> I 've used emacs with the "-nw" flag for years because it's much
> faster, almost as fast as vi.   To me, using the full-blown windowing
> system is not an option, even on a fast computer.

So use emacsclient.

-- 
Kevin Rodgers

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

* Re: Disabling blinking cursor
       [not found]                   ` <mailman.12745.1130315094.20277.help-gnu-emacs@gnu.org>
@ 2005-10-27 18:56                     ` onestatusquo
  0 siblings, 0 replies; 16+ messages in thread
From: onestatusquo @ 2005-10-27 18:56 UTC (permalink / raw)



Andrea Vettorello wrote:

> I can confirm that on Debian (Sid) the cursor on xterm doesn't blink,
> at least as default. If you are using a gnome-terminal you should find
> an option on "Profile" to disable blinking, instead if you are using
> the text console, you can put the following line

I am running standard xterm, not a terminal.  Never had issues with
until I upgraded to Linux Fedora Core 3. The default 21.3.1  emacs that
comes with it has that issue and I cannot turn it off when I use the
-nw "no-window" switch. Where do I submit this bug to so they hopefully
fix it later releases.

>
> echo -e '\033[?17;0;127c'>

This has no effect on anything but thanks anyway.

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

end of thread, other threads:[~2005-10-27 18:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20  8:22 Disabling blinking cursor onestatusquo
2005-10-20 10:02 ` Michael Cadilhac
     [not found] ` <mailman.11990.1129802432.20277.help-gnu-emacs@gnu.org>
2005-10-20 16:23   ` onestatusquo
2005-10-20 16:44     ` Bastien
2005-10-20 17:01       ` Maarten Bergvelt
2005-10-21  0:40       ` onestatusquo
2005-10-21  0:45         ` Bastien
2005-10-22  4:10           ` onestatusquo
2005-10-22  9:58             ` Michael Cadilhac
     [not found]             ` <mailman.12215.1129974958.20277.help-gnu-emacs@gnu.org>
2005-10-22 16:12               ` onestatusquo
2005-10-25  1:13                 ` onestatusquo
2005-10-25  1:25                   ` Bastien
2005-10-26  6:02                     ` onestatusquo
2005-10-26 15:33                       ` Kevin Rodgers
2005-10-26  8:12                   ` Andrea Vettorello
     [not found]                   ` <mailman.12745.1130315094.20277.help-gnu-emacs@gnu.org>
2005-10-27 18:56                     ` onestatusquo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).