Comment 7 for bug 944093

Revision history for this message
Eric S. Johansson (esjh) wrote : Re: [Bug 944093] Re: w-32 python missed

On 3/2/2012 12:01 PM, Andreas Roehler wrote:
> Am 02.03.2012 17:39, schrieb Eric S. Johansson:
>> same problem. verified the new function was visible. (py-install-
>> directory-check)
>>
> did you set py-edit-only-p to `t'?

yes

;; setup Python mode
;;; Emacs Load Path
(setq load-path (cons "/cygwin/home/esj/python-mode" load-path))

(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist (cons '("python" . python-mode)
                    interpreter-mode-alist))
(autoload 'python-mode "python-mode" "Python editing mode." t)
(setq py-edit-only-p t)

I think the py-edit-only-p is wrong because it does not show up in the dump

>
> t is not the default here, as python-mode may expect a running Python
> installed.
>
> if py-edit-only-p is t but the errors occurs still
>
> a report from M-x report-emacs-bug might be useful
>

To: <email address hidden>
Subject: 23.1.50; python-mode
From: <email address hidden>
--text follows this line--

This is a bug report for the PATCHED Emacs+EmacsW32.
Please test the unpatched version of Emacs+EmacsW32 before reporting
if you can. If the bug is also in the unpatched version then
report from the unpatched version else report here.

If it is very inconvenient for you to try the unpatched version,
but you believe the bug is not related to the patches then you
may change the address above to <email address hidden>

For easy to read information about the patches see EmacsW32 home
page.

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the <email address hidden> mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Program Files (x86)/Emacs/emacs/etc/DEBUG.

In GNU Emacs 23.1.50.1 (i386-mingw-nt6.1.7601)
  of 2009-11-03 on LENNART-69DE564 (patched)
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: ENU
   value of $XMODIFIERS: nil
   locale-coding-system: cp1252
   default enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
   shell-dirtrack-mode: t
   server-mode: t
   recentf-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   noticeable-minibuffer-prompts-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <file> <Open Recent>
<c:/cygwin/home/esj/python-mode/python-mode.el> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <file> <Open Recent>
<c:/cygwin/home/esj/food/food_calc.py> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <file> <Open Recent>
<c:/Users/esj/AppData/Roaming/.emacs.d/init.el> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> C-c
C-x b C-g C-x b <return> <escape> x r e p <tab> o r
<tab> <return>

Recent messages:
Adding c:/Program Files (x86)/Emacs/EmacsW32/lisp/ to load-path
Loading recentf...done
Loading c:/Users/esj/AppData/Roaming/.recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-bzr...done
imenu-add-to-menu-bar: imenu-create-index-function =py-imenu-create-index-new
File mode specification error: (file-error "Searching for program" "no such file
or directory" "python")
Quit
Making completion list...

Load-path shadows:
c:/Program Files (x86)/Emacs/EmacsW32/nxhtml/util/chart hides c:/Program Files
(x86)/Emacs/emacs/lisp/emacs-lisp/chart

Features:
(shadow mail-extr message smtpmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock hashcash
mail-utils emacsbug sendmail help-mode view imenu python-mode skeleton
rx advice help-fns advice-preload derived edmacro kmacro shell cc-cmds
cc-engine cc-vars cc-defs regexp-opt ansi-color vc-dispatcher vc-bzr
sha1 hex-util server recentf tree-widget cus-start emacsw32 find-func
w32-meta menuacc tmm electric w32-integ w32shell w32-grep grep compile
comint ring rebind ourcomments-widgets new-key-seq-widget wid-edit
hfyview easy-mmode easymenu htmlfontify cl cl-19 noprint nxhtml-loader
emacsw32-eol tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev button minibuffer faces cus-face text-properties overlay md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)