Re: Problems with KDE, emacs and xemacs

1998-05-15 Thread W Paul Mills
On Wed, 13 May 1998, Ionut Borcoman wrote:

> Will Lowe wrote:
> > 
> > > Can somebody give me a solution:
> > > 1. to make EMACS work OK with KDE
> > Play with the default font settings in KDE.  Mine did this too,  at first,
> > I changed the fonts around a few times,  and now it's working fine.  I
> > think it has to do partially with the difference between proportional and
> > non-proportional fonts.
> Yes, I think the same. But I've try with all the fonts from the
> fontmanager with no success. What are your settings ?
> 
> Ionutz
> 
> > > 2. to change .emacs to work with XEMACS.
> > Someone just posted a test for emacs version.  I also keep extra font-lock
> > settings and stuff around in a .xemacs-extras and do a load-file on them
> > if .emacs determines that we're really running xemacs.
> Why should I test it ? If I simply go to the menu and give Help->Ahow
> version...
> it responds it's a GNU Emacs 20.2.2. Is this important ?

To conditionally run different sections of the .emacs file.


/*** Running Debian Linux ***
*   For God so loved the world that He gave his only begotten Son,  *
*   that whoever believes in Him should not perish...John 3:16  *
* W. Paul Mills*  Topeka, Kansas, U.S.A.*
* [EMAIL PROTECTED]   *  http://homepage.midusa.net/~wpmills/  *
* [EMAIL PROTECTED] *  http://www.networksplus.net/wpmills/  *
* Bill, I was there several years ago, why would I want to go back? *
/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Problems with KDE, emacs and xemacs

1998-05-13 Thread Will Lowe
> Yes, I think the same. But I've try with all the fonts from the
> fontmanager with no success. What are your settings ?
Not the fontmanager.  From the K^ in the lower left of the panel:

Settings->Desktop->Fonts ect.

I've got "General font" set to "helvetica", 12 pt,  iso-8859-1
and "Fixed font" set to "fixed", 10 pt,  iso-8859-1.

good luck.
Will


--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
|   You think you're so smart,  but I've seen you naked  |
|  and I'll prob'ly see you naked again ...  |
| --The Barenaked Ladies,  "Blame It On Me"  |
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Problems with KDE, emacs and xemacs

1998-05-13 Thread Ionut Borcoman
Will Lowe wrote:
> 
> > Can somebody give me a solution:
> > 1. to make EMACS work OK with KDE
> Play with the default font settings in KDE.  Mine did this too,  at first,
> I changed the fonts around a few times,  and now it's working fine.  I
> think it has to do partially with the difference between proportional and
> non-proportional fonts.
Yes, I think the same. But I've try with all the fonts from the
fontmanager with no success. What are your settings ?

Ionutz

> > 2. to change .emacs to work with XEMACS.
> Someone just posted a test for emacs version.  I also keep extra font-lock
> settings and stuff around in a .xemacs-extras and do a load-file on them
> if .emacs determines that we're really running xemacs.
Why should I test it ? If I simply go to the menu and give Help->Ahow
version...
it responds it's a GNU Emacs 20.2.2. Is this important ?

Ionutz


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Problems with KDE, emacs and xemacs

1998-05-13 Thread Will Lowe
> Can somebody give me a solution:
> 1. to make EMACS work OK with KDE
Play with the default font settings in KDE.  Mine did this too,  at first,
I changed the fonts around a few times,  and now it's working fine.  I
think it has to do partially with the difference between proportional and
non-proportional fonts.

> 2. to change .emacs to work with XEMACS.
Someone just posted a test for emacs version.  I also keep extra font-lock
settings and stuff around in a .xemacs-extras and do a load-file on them
if .emacs determines that we're really running xemacs.


Will


--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
|   You think you're so smart,  but I've seen you naked  |
|  and I'll prob'ly see you naked again ...  |
| --The Barenaked Ladies,  "Blame It On Me"  |
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Problems with KDE, emacs and xemacs

1998-05-13 Thread Jens B. Jorgensen
Why not make a test expression on emacs-version? For example:

(if (string-equal emacs-version "20.2.2") (print "hello, 20.2.2 user"))

Ionut Borcoman wrote:

> Hi,
>
> Yesterday I've downloaded the new KDE beta 4. After some struggling, I
> was able to start it. But, when I start EMACS, the text is all wrong (I
> think it uses wrong fonts). The XEMACS works OK with fonts, but doesn't
> like the .emacs and other lisp files that worked OK with EMACS.
>
> Can somebody give me a solution:
> 1. to make EMACS work OK with KDE
> or
> 2. to change .emacs to work with XEMACS.
>
> The XEMACS complains at lines like
>
> ;; Redefine some keys.
> (setq kill-whole-line t); Kill EOL too
> (global-set-key [kp-home] 'beginning-of-line)
> (global-set-key [kp-end] 'end-of-line)
> (global-set-key [home] 'beginning-of-line)
> (global-set-key [end] 'end-of-line)
> (global-set-key [C-home] 'beginning-of-buffer)
> (global-set-key [C-end] 'end-of-buffer)
> (global-set-key [S-delete] 'clipboard-kill-region)
> (global-set-key [S-insert] 'clipboard-yank)
> (global-set-key [C-insert] 'clipboard-kill-ring-save)
> (global-set-key [S-right] 'set-mark-command)
> (global-set-key [f1]  'goto-line)   ; goto line
> (global-set-key [delete]  'delete-char) ; delete character under
> cursor
> (global-set-key [f4]  'indent-three-spaces) ; indent 3 spaces
> (global-set-key [f8]  'kill-current-line)   ; delete current line
> (global-set-key [?\C-z] 'undo); added here because I usually do kills by
> mistake
> (global-set-key "\C-x\C-j" 'goto-line) ; Command prompts for linenumber
> to go to.
>
> It says
>
> Invalid (FSF Emacs) key format (see doc of define-key): C-home
>
> I can hand-fix some of these, but I have a lot of .el files and it seems
> absurd to me to do this for all of them. Also, I would be glad if you
> can share a solution that will make the .emacs files useable for both
> EMACS and XEMACS (if that's possible).
>
> Thanks,
>
> Ionutz
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Problems with KDE, emacs and xemacs

1998-05-13 Thread Ionut Borcoman
Hi,

Yesterday I've downloaded the new KDE beta 4. After some struggling, I
was able to start it. But, when I start EMACS, the text is all wrong (I
think it uses wrong fonts). The XEMACS works OK with fonts, but doesn't
like the .emacs and other lisp files that worked OK with EMACS. 

Can somebody give me a solution:
1. to make EMACS work OK with KDE
or
2. to change .emacs to work with XEMACS.

The XEMACS complains at lines like 

;; Redefine some keys.
(setq kill-whole-line t); Kill EOL too
(global-set-key [kp-home] 'beginning-of-line)
(global-set-key [kp-end] 'end-of-line)
(global-set-key [home] 'beginning-of-line)
(global-set-key [end] 'end-of-line)
(global-set-key [C-home] 'beginning-of-buffer)
(global-set-key [C-end] 'end-of-buffer)
(global-set-key [S-delete] 'clipboard-kill-region)
(global-set-key [S-insert] 'clipboard-yank)
(global-set-key [C-insert] 'clipboard-kill-ring-save)
(global-set-key [S-right] 'set-mark-command)
(global-set-key [f1]  'goto-line)   ; goto line
(global-set-key [delete]  'delete-char) ; delete character under
cursor
(global-set-key [f4]  'indent-three-spaces) ; indent 3 spaces
(global-set-key [f8]  'kill-current-line)   ; delete current line
(global-set-key [?\C-z] 'undo); added here because I usually do kills by
mistake
(global-set-key "\C-x\C-j" 'goto-line) ; Command prompts for linenumber
to go to.

It says 

Invalid (FSF Emacs) key format (see doc of define-key): C-home

I can hand-fix some of these, but I have a lot of .el files and it seems
absurd to me to do this for all of them. Also, I would be glad if you
can share a solution that will make the .emacs files useable for both
EMACS and XEMACS (if that's possible).

Thanks,

Ionutz


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]