Nelson Ingersoll | 2 Dec 2011 01:56
Picon
Favicon

EmacsW32 1.58 and customize problem.

Hi,

   I am running the Windows version of emacs picked up from ftp.gnu.org/gnu/emacs/windows.  The version text is "GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO" and I have verified this is the latest version of emacs there.

   I downloaded the Emacs-24-BzrU101019-EmacsW32-1.58.exe file from the EmacsW32 site and installed ONLY the EmacsW32 item.  (I looked and looked at the EmacsW32 site and found no EmacsW32 only download.)

   I then copied the lisp and nxhtml directories to my ~/.emacs.d/elisp/ directory.  I renamed the lisp directory to EmacsW32 since this is what my init.el is programmed for. 

   When I select  the menu item Option/Customize EmacsW&32 (1.58 2011.12.01) I get an error.  Here is the entire error text from the *Messages* buffer.

        Tested for Bug 3467 => FAILED
         sex-mode fin 0.0 seconds elapsed
        let: Symbol's value as variable is void: rebind-keys-mode


   Any clues as to how I get get EmacsW32 customization menu to work?  At the moment I have not compiled the new EmacsW32 lisp files and the old .el and .elc files have all been deleted.

Regards,
Nelson
parozusa | 2 Dec 2011 10:45
Picon

Re: EmacsW32 1.58 and customize problem.


Nelson Ingersoll writes:

> Hi,    I am running the Windows version of emacs picked up from
> http://ftp.gnu.org/gnu/emacs/windows.  The version text is "GNU Emacs
> 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO" and I have
> verified this is the latest version of emacs there.     I downloaded
> the Emacs-24-BzrU101019-EmacsW32-1.58.exe file from the EmacsW32 site
> and installed ONLY the EmacsW32 item.  (I looked and looked at the
> EmacsW32 site and found no EmacsW32 only download.)   I then copied
> the lisp and nxhtml directories to my ~/.emacs.d/elisp/ directory.  I
> renamed the lisp directory to EmacsW32 since this is what my init.el
> is programmed for.      When I select  the menu item Option/Customize
> EmacsW&32 (1.58 2011.12.01) I get an error.  Here is the entire error
> text from the *Messages* buffer.        Tested for Bug 3467 => FAILED
>          sex-mode fin 0.0 seconds elapsed        let: Symbol's
> value as variable is void: rebind-keys-mode    Any clues as to how I
> get get EmacsW32 customization menu to work?  At the moment I have not
> compiled the new EmacsW32 lisp files and the old .el and .elc files
> have all been deleted.  Regards,Nelson

Good Morning,

if you are hunting for the latest Windows binaries visit

  http://alpha.gnu.org/gnu/emacs/pretest/windows/

  ( emacs-24.0.92-bin-i386.zip          01-Dec-2011 00:26   57M )

or

  http://alpha.gnu.org/gnu/emacs/windows/

  ( emacs-20111121-r106472-bin-i386.zip 21-Nov-2011 23:30   58M )

Cheers

Martin
--
parozusa at web dot de

Lee | 4 Dec 2011 03:25
Picon

How to change background and foreground color

HI

I tried to use following as my _emasc file(under c:\), but this version does not seems to use it. This file is working under my Linux emacs but not in this windows emacs. Does anyone know why?

Thanks
Lee


;; Set up the keyboard so the delete key on both the regular keyboard
;; and the keypad delete the character under the cursor and to the right
;; under X, instead of the default, backspace behavior.
(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)

;; turn on font-lock mode
(global-font-lock-mode t)

;; enable visual feedback on selections
(setq-default transient-mark-mode t)

;; always end a file with a newline
(setq require-final-newline t)

;; stop at the end of the file, not just add lines
(setq next-line-add-newlines nil)

;;to display time
(display-time)

;;to set the cursor color
(set-cursor-color "red")

;;to set the font


;(set-frame-font "-*-fixedsysttf-*-*-*-*-15-*-*-*-*-*-*-*")


;;to set foreground color to white
(set-foreground-color "white")

;;to set background color to black
(set-background-color "black")

;;to manage the geometric size of initial window.
(setq initial-frame-alist '((width . 87) (height . 42)))

;;set the keybinding so that you can use f4 for goto line
(global-set-key [f4] 'goto-line)


;;set the keybinding so that f3 will start the shell
(global-set-key [f3] 'shell)


;;set the keybinding so that f5 will start query replace
(global-set-key [f5] 'query-replace)
(global-set-key [f6] 'switch-to-buffer)
(global-set-key [f7] 'hippie-expand)
(global-set-key [f8] 'ispell)

(setq load-path (cons "/home/hemant/elisp" load-path))

(when window-system
;; enable wheelmouse support by default
(mwheel-install)
;; use extended compound-text coding for X clipboard
(set-selection-coding-system 'compound-text-with-extensions))
(autoload 'mpg123 "mpg123" "A Front-end to mpg123" t)


(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!


;; Your init file should contain only one such instance.
'(auto-save-default nil)
'(backup-directory-alist (quote (("." . "/home/hemant/backup"))))
'(default-frame-alist (quote ((tool-bar-lines . 1) (menu-bar-lines . 1) (width . 87) (height . 42)))))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!


;; Your init file should contain only one such instance.
'(font-lock-comment-face ((((class color) (background dark)) (:foreground "chocolate1" :slant italic :family "-*-lucida-medium-r-*-*-14-*-*-*-*-*-*-*"))))
'(fringe ((((class color) (background dark)) (:background "grey10" :width ultra-condensed))))
'(scroll-bar ((t (:background "Dark slate gray")))))

Jason Rumney | 5 Dec 2011 16:07
Picon

Re: How to change background and foreground color

Lee <feplooptest <at> gmail.com> writes:

> HI
>
> I tried to use following as my _emasc file(under c:\), but this
> version does not seems to use it. This file is working under my Linux
> emacs but not in this windows emacs. Does anyone know why?

Assuming the "_emasc" is a typo, and you really mean "_emacs",
this text from the info node "Windows HOME" in the latest development
version might be of interest:

   For compatibility with older versions of Emacs(1), if there is a file
   named `.emacs' in `C:\', the root directory of drive `C:', and `HOME'
   is set neither in the environment nor in the Registry, Emacs will
   treat `C:\' as the default `HOME' location, and will not look in the
   application data directory, even if it exists.  Note that only
   `.emacs' is looked for in `C:\'; the older name `_emacs' (see below)
   is not.  This use of `C:\.emacs' to define `HOME' is deprecated.

...

   Because MS-DOS does not allow file names with leading dots, and older
   Windows systems made it hard to create files with such names, the
   Windows port of Emacs supports an init file name `_emacs', if such a
   file exists in the home directory and `.emacs' does not.  This name
   is considered obsolete.

The best way to create your init file is to type C-x C-f ~/.emacs from
within Emacs.  Then you know it will be created in the right place.

cg | 7 Dec 2011 13:07
Picon

Re: emacs-20111206-r106632 Windows Binaries


On 12/7/2011 11:27 AM, Christoph Scholtes wrote:
> The Emacs Trunk Windows Binaries (bzr revno 106632) have been published in
>
> http://alpha.gnu.org/gnu/emacs/windows/
>

When I built Emacs trunk myself, I got this error message:

Loading x:/emacs_files/trunk/bzr/lisp/vc/vc-bzr.el (source)...
Wrong type argument: listp, "fb83b382a2337c79b97761079c878b11"
make[1]: *** [X:/emacs_files/trunk/bzr/lisp/mh-e/mh-loaddefs.el] Error -1
make[1]: Leaving directory `X:/emacs_files/trunk/bzr/lisp'
make: *** [bootstrap-gmake] Error 2

This only happens recently, maybe in one or two weeks.

Did you have the same issue?

Best Regards
cg

Eli Zaretskii | 7 Dec 2011 14:02
Picon

Re: emacs-20111206-r106632 Windows Binaries

> From: cg <chengang31 <at> gmail.com>
> Date: Wed, 07 Dec 2011 20:07:02 +0800
> Cc: emacs-devel <at> gnu.org
> 
> On 12/7/2011 11:27 AM, Christoph Scholtes wrote:
> > The Emacs Trunk Windows Binaries (bzr revno 106632) have been published in
> >
> > http://alpha.gnu.org/gnu/emacs/windows/
> >
> 
> When I built Emacs trunk myself, I got this error message:
> 
> Loading x:/emacs_files/trunk/bzr/lisp/vc/vc-bzr.el (source)...
> Wrong type argument: listp, "fb83b382a2337c79b97761079c878b11"
> make[1]: *** [X:/emacs_files/trunk/bzr/lisp/mh-e/mh-loaddefs.el] Error -1
> make[1]: Leaving directory `X:/emacs_files/trunk/bzr/lisp'
> make: *** [bootstrap-gmake] Error 2

Copy ldefs-boot.el into loaddefs.el, then try again.

> This only happens recently, maybe in one or two weeks.
> 
> Did you have the same issue?

The root cause was fixed by this change:

  2011-11-23  Eli Zaretskii  <eliz <at> gnu.org>

	  * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
	  On MS-DOS and MS-Windows, compare with loaddefs.el
	  case-insensitively.

But if you have loaddefs.el with SHA1 signatures instead of time
stamps, you must do the copy trick, once.

Michael Campbell | 7 Dec 2011 14:16
Picon

Re: emacs-20111206-r106632 Windows Binaries

Sorry for the basic question here, but is there something that maps these binary distribution filenames to the actual version of emacs within?  Nothing in the filename looked obvious.


Thanks

cg | 7 Dec 2011 14:25
Picon

Re: emacs-20111206-r106632 Windows Binaries

On 12/7/2011 9:02 PM, Eli Zaretskii wrote:
>> From: cg<chengang31 <at> gmail.com>
>> Date: Wed, 07 Dec 2011 20:07:02 +0800
>> Cc: emacs-devel <at> gnu.org
>>
>> On 12/7/2011 11:27 AM, Christoph Scholtes wrote:
>>> The Emacs Trunk Windows Binaries (bzr revno 106632) have been published in
>>>
>>> http://alpha.gnu.org/gnu/emacs/windows/
>>>
>>
>> When I built Emacs trunk myself, I got this error message:
>>
>> Loading x:/emacs_files/trunk/bzr/lisp/vc/vc-bzr.el (source)...
>> Wrong type argument: listp, "fb83b382a2337c79b97761079c878b11"
>> make[1]: *** [X:/emacs_files/trunk/bzr/lisp/mh-e/mh-loaddefs.el] Error -1
>> make[1]: Leaving directory `X:/emacs_files/trunk/bzr/lisp'
>> make: *** [bootstrap-gmake] Error 2
>
> Copy ldefs-boot.el into loaddefs.el, then try again.
>

I just ran "bzr clean-tree -- unknown --force" once, the build succeeded.

I remember when the error happened, the loaddefs.el only had a few lines,
now it has almost the same as ldefs-boot.el.

It seems gmake can do the copying only in a clean build!?

Thanks,
cg

Eli Zaretskii | 7 Dec 2011 15:13
Picon

Re: emacs-20111206-r106632 Windows Binaries

> From: cg <chengang31 <at> gmail.com>
> Date: Wed, 07 Dec 2011 21:25:19 +0800
> Cc: emacs-devel <at> gnu.org
> 
> > Copy ldefs-boot.el into loaddefs.el, then try again.
> >
> 
> I just ran "bzr clean-tree -- unknown --force" once, the build succeeded.

Sure, but that does much more, and so is slower.

> I remember when the error happened, the loaddefs.el only had a few lines,
> now it has almost the same as ldefs-boot.el.

loaddefs.el cannot be just a few lines, it's a large file.

> It seems gmake can do the copying only in a clean build!?

Automatically, yes; but you can copy the file manually.

Eli Zaretskii | 7 Dec 2011 15:14
Picon

Re: emacs-20111206-r106632 Windows Binaries

> Date: Wed, 7 Dec 2011 08:16:30 -0500
> From: Michael Campbell <michael.campbell <at> gmail.com>
> 
> Sorry for the basic question here, but is there something that maps these
> binary distribution filenames to the actual version of emacs within?
>  Nothing in the filename looked obvious.

Start Emacs, then type "M-x emacs-version RET".


Gmane