Sean MacLennan | 1 Mar 2009 04:26
Picon
Favicon
Gravatar

X Shifted Function Keys

How are people handling shifted function keys under SXEmacs? I have a
patch I have been applying for years now, but surely the problem has
been solved by now?

For example I have the following in my init file:

(global-set-key [f5]		'query-replace)
(global-set-key [(shift f5)]    'query-replace-regexp)
(global-set-key [XF86_Switch_VT_5] 'query-replace-regexp)

So F5 does a query replace and shifted F5 switches it to the regexp
version. The XF86_Switch_VT_5 solved the problem for one release of the
X server and then it was back.

Do people just not use shifted function keys, or do shifted function
keys just work for you?

Cheers,
   Sean

Sean MacLennan | 1 Mar 2009 04:34
Picon
Favicon
Gravatar

Explicit module loading

Under the 22.1.9 version of SXEmacs. I had to explicitly load the
cl-loop module or ediff, for example, wouldn't work. I added the
following to my init.el, so I have a workaround:

(when running-sxemacs
  (load-module "cl-loop"))

But shouldn't a (require 'cl-loop) have worked?

Cheers,
   Sean

Sebastian Freundt | 2 Mar 2009 11:49
X-Face
Face
Gravatar

Re: Explicit module loading


Sean MacLennan <seanm <at> seanm.ca> writes:

> Under the 22.1.9 version of SXEmacs. I had to explicitly load the
> cl-loop module or ediff, for example, wouldn't work. I added the
> following to my init.el, so I have a workaround:
>
> (when running-sxemacs
>   (load-module "cl-loop"))
>
> But shouldn't a (require 'cl-loop) have worked?

Indeed, it should have.  What's module-load-path for you?
Just tried it here, worked.

Cheers
Sebastian
Sean MacLennan | 2 Mar 2009 17:21
Picon
Favicon
Gravatar

Re: Explicit module loading

On Mon, 02 Mar 2009 10:49:05 +0000
Sebastian Freundt <hroptatyr <at> sxemacs.org> wrote:

> Indeed, it should have.  What's module-load-path for you?
> Just tried it here, worked.

("/home/xemacs/sxemacs/modules/" "/home/xemacs/sxemacs/modules/ase/"
"/home/xemacs/sxemacs/modules/cl/" "/home/xemacs/sxemacs/modules/ldap/")

Cheers,
   Sean

Sebastian Freundt | 2 Mar 2009 22:01
X-Face
Face
Gravatar

Re: Explicit module loading


Sean MacLennan <seanm <at> seanm.ca> writes:

> On Mon, 02 Mar 2009 10:49:05 +0000
> Sebastian Freundt <hroptatyr <at> sxemacs.org> wrote:
>
>> Indeed, it should have.  What's module-load-path for you?
>> Just tried it here, worked.
>
> ("/home/xemacs/sxemacs/modules/" "/home/xemacs/sxemacs/modules/ase/"
> "/home/xemacs/sxemacs/modules/cl/" "/home/xemacs/sxemacs/modules/ldap/")
>

Sorry my bad, we've changed the behaviour for #'require.  Stuff has to be
in 'load-path to be #'require'able.  The module-load-path is just for
explicit module loading.

Sebastian
Sean MacLennan | 2 Mar 2009 22:20
Picon
Favicon
Gravatar

Re: Explicit module loading

On Mon, 02 Mar 2009 21:01:25 +0000
Sebastian Freundt <hroptatyr <at> sxemacs.org> wrote:

> Sorry my bad, we've changed the behaviour for #'require.  Stuff has
> to be in 'load-path to be #'require'able.  The module-load-path is
> just for explicit module loading.

Great. As long as that is the case I don't mind. And putting the (load
"cl-loop") in my init.el does work for me.

However, you might want to change etags.el, since it is part of sxemacs
proper. It does a (require 'cl-loop) and that should probably be a (load
"cl-loop") for sxemacs.

Cheers,
   Sean

Nelson Ferreira | 3 Mar 2009 00:49

Re: [Fwd: Re: FYI: "Emacs and XEmacs" on the Emacs Wiki]

On Wednesday 25 February 2009 06:16:19 am Andreas Roehler wrote:
> Hi SXEmacs folks,
>
> forward this for you, as I think its time to consider
> (SX)Emacs situation from the very bottom.
>
> Using GNU Emacs for years, I understand Leo's
> arguments.
>
> Switching to XEmacs basically because of FSF
> assignment question, I constate: XEmacs is still much
> more pleasant to look at. Yeah, but ...
>
> OTOH I probably ignore many feature specific to XEmacs
> and one thing I'm looking for is FFI.
>
> But FFI not available still. Will it outweigh all the
> other things not supported now by XEs?
>

But FFI is available on SXEmacs (not XEmacs, just because they have not
committed the code yet - we are a friendly fork and we have contributed the
patch for XEmacs).

> So maybe come back to XEmacs, taking the technical
> spearhead there again?
>

What do you mean by that ?

(Continue reading)

Andreas Roehler | 3 Mar 2009 07:51
Picon

Re: [Fwd: Re: FYI: "Emacs and XEmacs" on the Emacs Wiki]

Nelson Ferreira wrote:
> On Wednesday 25 February 2009 06:16:19 am Andreas Roehler wrote:
>> Hi SXEmacs folks,
>>
>> forward this for you, as I think its time to consider
>> (SX)Emacs situation from the very bottom.
>>
>> Using GNU Emacs for years, I understand Leo's
>> arguments.
>>
>> Switching to XEmacs basically because of FSF
>> assignment question, I constate: XEmacs is still much
>> more pleasant to look at. Yeah, but ...
>>
>> OTOH I probably ignore many feature specific to XEmacs
>> and one thing I'm looking for is FFI.
>>
>> But FFI not available still. Will it outweigh all the
>> other things not supported now by XEs?
>>
> 
> But FFI is available on SXEmacs (not XEmacs, just because they have not
> committed the code yet - we are a friendly fork and we have contributed the
> patch for XEmacs).
> 
>> So maybe come back to XEmacs, taking the technical
>> spearhead there again?
>>
> 
> What do you mean by that ?
(Continue reading)

Steve Youngs | 4 Mar 2009 15:15
X-Face
Face
Gravatar

Re: Explicit module loading

* Sean MacLennan <seanm <at> seanm.ca> writes:

  > On Mon, 02 Mar 2009 21:01:25 +0000
  > Sebastian Freundt <hroptatyr <at> sxemacs.org> wrote:

  >> Sorry my bad, we've changed the behaviour for #'require.  Stuff has
  >> to be in 'load-path to be #'require'able.  The module-load-path is
  >> just for explicit module loading.

  > Great. As long as that is the case I don't mind. And putting the (load
  > "cl-loop") in my init.el does work for me.

  > However, you might want to change etags.el, since it is part of sxemacs
  > proper. It does a (require 'cl-loop) and that should probably be a (load
  > "cl-loop") for sxemacs.

In 22.1.10 module-load-path is in load-path so you can #'require a emodule.

--

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|       SXEmacs - The only _______ you'll ever need.       |
|         Fill in the blank, yes, it's THAT good!          |
|------------------------------------<steve <at> sxemacs.org>---|
Steve Youngs | 4 Mar 2009 15:28
X-Face
Face
Gravatar

Re: X Shifted Function Keys

* Sean MacLennan <seanm <at> seanm.ca> writes:

  > How are people handling shifted function keys under SXEmacs? I have
  > a patch I have been applying for years now, but surely the problem
  > has been solved by now?

Not that I know of.  Please show us the patch.

  > Do people just not use shifted function keys, or do shifted function
  > keys just work for you?

I guess we don't use em. :-)  I just tried and they don't work for me.

--

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|       SXEmacs - The only _______ you'll ever need.       |
|         Fill in the blank, yes, it's THAT good!          |
|------------------------------------<steve <at> sxemacs.org>---|

Gmane