Lisp HUG Maillist Archive

Some editor questions

I have some questions regarding the editor, to which I haven't
found the answers myself, so I decided to post it here.

1) What are the shortcut keys for the tools? The manual says
that they're bound to Meta+Control keys, so for the editor it's
Meta+Control+e right? It doesn't work with me. I checked my
X settings and my "Alt" keys are bound to "Meta".

2) How do I make "regions" visible? In Emacs, it's called
transient-mark-mode.

3) How do I change the font lock colors? I looked at fontlock.lisp
and I did a SETF on say *FONT-LOCK-STRING-FACE* but it
didn't seem to work.

4) When scrolling past the topmost or bottommost line in a buffer,
how do I change the behavior of the editor so that it won't recenter
the cursor?

Thanks.


-- 
Rommel M. Martinez
ebzzry@gmail.com
http://www.bespin.org/~ebzzry


Re: Some editor questions

On Mon, 11 Aug 2008 10:00:11 +0800, "Rommel Martinez" <ebzzry@gmail.com> wrote:

> 2) How do I make "regions" visible? In Emacs, it's called
> transient-mark-mode.

You might want to look at

  http://weitz.de/lw-add-ons/#transient

Edi.


Re: Some editor questions

On Mon, Aug 11, 2008 at 7:56 PM, Edi Weitz <edi@agharta.de> wrote:
> On Mon, 11 Aug 2008 10:00:11 +0800, "Rommel Martinez" <ebzzry@gmail.com> wrote:
>
>> 2) How do I make "regions" visible? In Emacs, it's called
>> transient-mark-mode.
>
> You might want to look at
>
>  http://weitz.de/lw-add-ons/#transient
>
> Edi.
>

OK. Thanks.


-- 
Rommel M. Martinez
ebzzry@gmail.com
http://www.bespin.org/~ebzzry


Re: Some editor questions

On Mon, Aug 11, 2008 at 10:00 AM, Rommel Martinez <ebzzry@gmail.com> wrote:
> I have some questions regarding the editor, to which I haven't
> found the answers myself, so I decided to post it here.
>
> 1) What are the shortcut keys for the tools? The manual says
> that they're bound to Meta+Control keys, so for the editor it's
> Meta+Control+e right? It doesn't work with me. I checked my
> X settings and my "Alt" keys are bound to "Meta".
>

I looked at Edi Weitz's lw-add-ons and saw hints at the command
"Tools Listener".

> 2) How do I make "regions" visible? In Emacs, it's called
> transient-mark-mode.
>

Same, lw-add-ons.

> 3) How do I change the font lock colors? I looked at fontlock.lisp
> and I did a SETF on say *FONT-LOCK-STRING-FACE* but it
> didn't seem to work.
>

I was looking at a more Emacs-ish way but I found that there was
a menu command it the Works -> Tools -> Preferences menu that
does what I want.

> 4) When scrolling past the topmost or bottommost line in a buffer,
> how do I change the behavior of the editor so that it won't recenter
> the cursor?
>

I don't know the answer to this yet. Any hints, guys?

> Thanks.
>
>
> --
> Rommel M. Martinez
> ebzzry@gmail.com
> http://www.bespin.org/~ebzzry
>



-- 
Rommel M. Martinez
ebzzry@gmail.com
http://www.bespin.org/~ebzzry


Re: Some editor questions

Mitch Berkson <mitch@bermita.com> writes:

> Martin Simmons wrote:
>
>                         On Tue, 12 Aug 2008 08:18:21 +0800, Rommel Martinez said:
>
>             4) When scrolling past the topmost or bottommost line in a buffer,
>             how do I change the behavior of the editor so that it won't recenter
>             the cursor?
>
>         I don't know the answer to this yet. Any hints, guys?
>
>     Try
>     
>     (setf (editor:variable-value 'editor::scroll-step) !)
>
> I didn't see a change in behavior when I did that.

That's probably (which worked for me):

(setf (editor:variable-value 'editor::scroll-step) 1)

Thanks, Martin!


Re: Some editor questions

Unable to parse email body. Email id is 8510

Updated at: 2020-12-10 08:42 UTC