Alt-tab does not switch tasks

View: New views
20 Messages — Rating Filter:   Alert me  

Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I just upgraded to the most recent W32 emacs (patched) and have two problems:

1. ALT-TAB no longer works. It will bring up the task list (the icon panel) and allow me to key or mouse to the task I wish, but will not switch tasks.

2. Emacs complains that the desktop file is owned by some random PID. (Random in that it switches after every reboot)

 

Advice on how to fix these would be appreciated.

 

Thanks

 

Bill Raynor

Innovation Design & Testing

(920) 721-5973

Email: bill.raynor@...

 


This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy. Thank you.



Re: Alt-tab does not switch tasks

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raynor, Bill wrote:
> I just upgraded to the most recent W32 emacs (patched) and have two
> problems:
>
> 1. ALT-TAB no longer works. It will bring up the task list (the icon
> panel) and allow me to key or mouse to the task I wish, but will not
> switch tasks.

This is a surprising problem. Since the task list is shown I found it
hard to believe that Emacs is involved. Anyway, some questions:

- Does the problem persist after reboot?
- Does the problem show up only after you have started Emacs
- If you close Emacs does the problem disappear?

> 2. Emacs complains that the desktop file is owned by some random PID.
> (Random in that it switches after every reboot)

I have no idea what is happening here. If you look at the file from
Windows Explorer does the ownership etc look ok then?



Re: Alt-tab does not switch tasks

by Eli Zaretskii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Mon, 28 Jul 2008 09:28:05 -0500
> From: "Raynor, Bill" <Bill.Raynor@...>
>
> 2. Emacs complains that the desktop file is owned by some random PID.
> (Random in that it switches after every reboot)

Is Emacs still running when you reboot?  If so, that's because it does
not have a chance of releasing the lock on that file before it is
killed by the shutting down OS.



RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For Lennart's questions:
1. Yes, the problem persists after reboot.
2. The problem only occurs with emacs. For example, if emacs only covers
part of the window if I click on the outlook or firefox in the
background, alt-tab works as it should.
3. Since the behavior is tied to the emacs window, everything is okay
when that window does not have the focus, and after emacs has been
closed using C-x-C-c

For Eli's question:
I have tried it both shutting down emacs and doing a reboot and by doing
the reboot with emacs running. In both cases, I get the PID message when
the system comes back up.

I am the owner of the file.

Thanks for you attention

Bill

Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...

> -----Original Message-----
> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> Sent: Tuesday, July 29, 2008 11:35 AM
> To: Raynor, Bill
> Cc: help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> Raynor, Bill wrote:
> > I just upgraded to the most recent W32 emacs (patched) and have two
> > problems:
> >
> > 1. ALT-TAB no longer works. It will bring up the task list (the icon
> > panel) and allow me to key or mouse to the task I wish, but will not
> > switch tasks.
>
> This is a surprising problem. Since the task list is shown I found it
> hard to believe that Emacs is involved. Anyway, some questions:
>
> - Does the problem persist after reboot?
> - Does the problem show up only after you have started Emacs
> - If you close Emacs does the problem disappear?
>
> > 2. Emacs complains that the desktop file is owned by some random
PID.
> > (Random in that it switches after every reboot)
>
> I have no idea what is happening here. If you look at the file from
> Windows Explorer does the ownership etc look ok then?
>



 
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.





Re: Alt-tab does not switch tasks

by Eli Zaretskii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Wed, 30 Jul 2008 13:01:25 -0500
> From: "Raynor, Bill" <Bill.Raynor@...>
> cc: eliz@...,
> help-emacs-windows@...
>
> I have tried it both shutting down emacs and doing a reboot and by doing
> the reboot with emacs running. In both cases, I get the PID message when
> the system comes back up.

Can you show us your .emacs file?



RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sure, it is the same one I used before upgrading:
(message "starting ")
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(cua-mode t nil (cua-base))
 '(emacsw32-max-frames nil)
 '(emacsw32-mode t)
 '(emacsw32-style-frame-title t)
 '(htmlize-view-print-visible t t)
 '(menuacc-active t nil (menuacc))
 '(org-agenda-files (quote ("~/todo.org")))
 '(pr-gs-command "c:\\Program Files\\gs\\gs8.54\\bin\\gswin32c.exe")
 '(pr-gv-command "C:\\Program Files\\Ghostgum\\gsview\\gsview32.exe")
 '(recentf-mode t)
 '(swbuff-y-mode t)
 '(transient-mark-mode t)
 '(w32-feeling-mode t nil (w32-feeling))
 '(w32-meta-style (quote w32-lr))
 '(w32-print-menu-show-print nil)
 '(w32-print-menu-show-ps-print nil)
 '(w32shell-shell (quote cmd)))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
;;; WJR Customizations
(setq default-tab-width 3)
(setq default-major-mode 'text-mode)
(setq fill-column 80)
(setq font-lock-maximum-decoration t)
(global-font-lock-mode t)
(require 'paren)
;;(setq font-lock-support-mode 'lazy-lock-mode)
(setq font-lock-maximum-decoration t )
(show-paren-mode 1)

(setq frame-title-format "Emacs - %f")
(setq icon-title-format "Emacs - %b")

(display-time)
;;
(message "Loading Remember Mode")
(add-to-list 'load-path "C:\\Apps\\Emacs\\site-lisp\\remember-1.9")
(require 'remember-autoloads)
(setq org-remember-templates
  '(("Tasks" ?t "* TODO %?\n  %i\n  %a" "~/todo.org")
;; (2)
         ("Appointments" ?a "* Appointment: %?\n%^T\n%i\n  %a"
"~/organizer.org")))
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(eval-after-load 'remember
  '(add-hook 'remember-mode-hook 'org-remember-apply-template))
(global-set-key (kbd "C-c r") 'remember)
;; (3)


(message "Loading ORG Mode")
;;;(add-to-list 'load-path "C:\\Apps\\Emacs\\site-lisp\\org-5.17a")
;;; (require `org-install)
;;; from Sacha Chua
http://sachachua.com/wp/2007/12/28/emacs-getting-things-done-with-org-ba
sic/
;;; (global-set-key (kbd "C-c a") 'org-agenda)
;; (5)
(setq org-todo-keywords '("TODO" "STARTED" "WAITING" "DONE"))
;; (6)
(setq org-agenda-include-diary t)
;; (7)
(setq org-agenda-include-all-todo t)  
;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

(message "Finished wjr emacs customizations ")
(defun my_insert-time ()
  "Insert date at point."
  (interactive)
  (insert (format-time-string "%Y.%m.%d:%T")))
(message "...loading desktop")
(load "desktop")
(desktop-save-mode 1)
(desktop-load-default)
(desktop-read)
(put 'downcase-region 'disabled nil)
(cd (getenv "HOME"))
(message "Finished loading WJR .emacs")

Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...


> -----Original Message-----
> From: Eli Zaretskii [mailto:eliz@...]
> Sent: Wednesday, July 30, 2008 2:01 PM
> To: Raynor, Bill
> Cc: lennart.borgman@...; help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> > Date: Wed, 30 Jul 2008 13:01:25 -0500
> > From: "Raynor, Bill" <Bill.Raynor@...>
> > cc: eliz@...,
> > help-emacs-windows@...
> >
> > I have tried it both shutting down emacs and doing a reboot and by
doing
> > the reboot with emacs running. In both cases, I get the PID message
when
> > the system comes back up.
>
> Can you show us your .emacs file?
>



 
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.





Re: Alt-tab does not switch tasks

by Eli Zaretskii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Wed, 30 Jul 2008 14:23:53 -0500
> From: "Raynor, Bill" <Bill.Raynor@...>
> cc: lennart.borgman@...,
> help-emacs-windows@...
>
> Sure, it is the same one I used before upgrading:

Can you launch a task manager before rebooting and see if Emacs or
emacsclient is still in the air?

Also, what happens if you exit Emacs and then start it again: does it
complain then as well?



Re: Alt-tab does not switch tasks

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raynor, Bill wrote:
> For Lennart's questions:
> 1. Yes, the problem persists after reboot.
> 2. The problem only occurs with emacs. For example, if emacs only covers
> part of the window if I click on the outlook or firefox in the
> background, alt-tab works as it should.
> 3. Since the behavior is tied to the emacs window, everything is okay
> when that window does not have the focus, and after emacs has been
> closed using C-x-C-c


Could you please try and see if this problem is there if you start Emacs
with

   emacs -Q



RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lennart,

There is no problem if I start use "emacs -Q" from the command line in
C:\apps\emacs\emacs\bin

The problem occurs if I start it with a simple "emacs " command.

The problem still occurs if I use the icon in the systray. That points
to C:\Apps\Emacs\emacs\bin\emacsclientw.exe -n

Does this point to a problem in my .emacs file or something else?
Thanks.

Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...

> -----Original Message-----
> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> Sent: Wednesday, July 30, 2008 5:37 PM
> To: Raynor, Bill
> Cc: eliz@...; help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> Raynor, Bill wrote:
> > For Lennart's questions:
> > 1. Yes, the problem persists after reboot.
> > 2. The problem only occurs with emacs. For example, if emacs only
covers
> > part of the window if I click on the outlook or firefox in the
> > background, alt-tab works as it should.
> > 3. Since the behavior is tied to the emacs window, everything is
okay
> > when that window does not have the focus, and after emacs has been
> > closed using C-x-C-c
>
>
> Could you please try and see if this problem is there if you start
Emacs
> with
>
>    emacs -Q
>



 
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.





Re: Alt-tab does not switch tasks

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bill,

It tells us that the problem is related to your setup, not that the
cause necessarily is there.

Could you try to find out what in your .emacs that causes this problem?


Raynor, Bill wrote:

> Lennart,
>
> There is no problem if I start use "emacs -Q" from the command line in
> C:\apps\emacs\emacs\bin
>
> The problem occurs if I start it with a simple "emacs " command.
>
> The problem still occurs if I use the icon in the systray. That points
> to C:\Apps\Emacs\emacs\bin\emacsclientw.exe -n
>
> Does this point to a problem in my .emacs file or something else?
> Thanks.
>
> Bill Raynor
> Innovation Design & Testing
> (920) 721-5973
> Email: bill.raynor@...
>
>> -----Original Message-----
>> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
>> Sent: Wednesday, July 30, 2008 5:37 PM
>> To: Raynor, Bill
>> Cc: eliz@...; help-emacs-windows@...
>> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>>
>> Raynor, Bill wrote:
>>> For Lennart's questions:
>>> 1. Yes, the problem persists after reboot.
>>> 2. The problem only occurs with emacs. For example, if emacs only
> covers
>>> part of the window if I click on the outlook or firefox in the
>>> background, alt-tab works as it should.
>>> 3. Since the behavior is tied to the emacs window, everything is
> okay
>>> when that window does not have the focus, and after emacs has been
>>> closed using C-x-C-c
>>
>> Could you please try and see if this problem is there if you start
> Emacs
>> with
>>
>>    emacs -Q
>>
>
>
>
>  
> This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.
>
>
>



Parent Message unknown Re: Alt-tab does not switch tasks

by Eli Zaretskii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[Please don't remove the list from the CC.]

> Date: Thu, 31 Jul 2008 13:03:23 -0500
> From: "Raynor, Bill" <Bill.Raynor@...>
>
> 2. If I stop and restart, the problem re-occurs.

Let me be sure I understand what you are saying: Rebooting the
computer has nothing to do with this problem; if you exit Emacs and
then start another Emacs session, the same message appears.  Right?



RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I eliminate the entire (custom-set-variables ... definition the
ALT-Tab problem goes away.
If I comment out " ;(desktop-save-mode 1)" the pid complaint ceases.

Here is the custom-set-variables definition:
;(custom-set-variables
;  ;; custom-set-variables was added by Custom.
;  ;; If you edit it by hand, you could mess it up, so be careful.
;  ;; Your init file should contain only one such instance.
;  ;; If there is more than one, they won't work right.
; '(cua-mode t nil (cua-base))
; '(emacsw32-max-frames nil)
; '(emacsw32-mode t)
; '(emacsw32-style-frame-title t)
; '(htmlize-view-print-visible t t)
; '(menuacc-active t nil (menuacc))
; '(org-agenda-files (quote ("~/todo.org")))
; '(pr-gs-command "c:\\Program Files\\gs\\gs8.54\\bin\\gswin32c.exe")
; '(pr-gv-command "C:\\Program Files\\Ghostgum\\gsview\\gsview32.exe")
; '(recentf-mode t)
; '(swbuff-y-mode t)
; '(transient-mark-mode t)
; '(w32-feeling-mode t nil (w32-feeling))
; '(w32-meta-style (quote w32-lr))
; '(w32-print-menu-show-print nil)
; '(w32-print-menu-show-ps-print nil)
; '(w32shell-shell (quote cmd)))
;(custom-set-faces
;  ;; custom-set-faces was added by Custom.
;  ;; If you edit it by hand, you could mess it up, so be careful.
;  ;; Your init file should contain only one such instance.
;  ;; If there is more than one, they won't work right.
; )

How does one comment out individual pieces of the custom-set-variables
definition? My lisp experience is of the cut and paste variety.

Bill

Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...


> -----Original Message-----
> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> Sent: Thursday, July 31, 2008 1:07 PM
> To: Raynor, Bill
> Cc: eliz@...; help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> Hi Bill,
>
> It tells us that the problem is related to your setup, not that the
> cause necessarily is there.
>
> Could you try to find out what in your .emacs that causes this
problem?
>
>
> Raynor, Bill wrote:
> > Lennart,
> >
> > There is no problem if I start use "emacs -Q" from the command line
in
> > C:\apps\emacs\emacs\bin
> >
> > The problem occurs if I start it with a simple "emacs " command.
> >
> > The problem still occurs if I use the icon in the systray. That
points

> > to C:\Apps\Emacs\emacs\bin\emacsclientw.exe -n
> >
> > Does this point to a problem in my .emacs file or something else?
> > Thanks.
> >
> > Bill Raynor
> > Innovation Design & Testing
> > (920) 721-5973
> > Email: bill.raynor@...
> >
> >> -----Original Message-----
> >> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> >> Sent: Wednesday, July 30, 2008 5:37 PM
> >> To: Raynor, Bill
> >> Cc: eliz@...; help-emacs-windows@...
> >> Subject: Re: [h-e-w] Alt-tab does not switch tasks
> >>
> >> Raynor, Bill wrote:
> >>> For Lennart's questions:
> >>> 1. Yes, the problem persists after reboot.
> >>> 2. The problem only occurs with emacs. For example, if emacs only
> > covers
> >>> part of the window if I click on the outlook or firefox in the
> >>> background, alt-tab works as it should.
> >>> 3. Since the behavior is tied to the emacs window, everything is
> > okay
> >>> when that window does not have the focus, and after emacs has been
> >>> closed using C-x-C-c
> >>
> >> Could you please try and see if this problem is there if you start
> > Emacs
> >> with
> >>
> >>    emacs -Q
> >>
> >
> >
> >
> >
> > This e-mail is intended for the use of the addressee(s) only and may
> contain privileged, confidential, or proprietary information that is
> exempt from disclosure under law.  If you have received this message
in
> error, please inform us promptly by reply e-mail, then delete the
e-mail
> and destroy any printed copy.   Thank you.
> >
> >
> >
>



 
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.





RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes.

Commenting out various pieces of my .emacs file narrows the problem to
the (desktop-save-mode 1) line. If that is commented out the PID problem
goes away. If I leave it in, the problem occurs.

I copied that line from the emacs documentation.


Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...


> -----Original Message-----
> From: Eli Zaretskii [mailto:eliz@...]
> Sent: Thursday, July 31, 2008 1:35 PM
> To: Raynor, Bill
> Cc: help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> [Please don't remove the list from the CC.]
>
> > Date: Thu, 31 Jul 2008 13:03:23 -0500
> > From: "Raynor, Bill" <Bill.Raynor@...>
> >
> > 2. If I stop and restart, the problem re-occurs.
>
> Let me be sure I understand what you are saying: Rebooting the
> computer has nothing to do with this problem; if you exit Emacs and
> then start another Emacs session, the same message appears.  Right?
>



 
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.





Re: Alt-tab does not switch tasks

by Lennart Borgman (gmail) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raynor, Bill wrote:
> If I eliminate the entire (custom-set-variables ... definition the
> ALT-Tab problem goes away.
> If I comment out " ;(desktop-save-mode 1)" the pid complaint ceases.

Thanks.

> Here is the custom-set-variables definition:
> ;(custom-set-variables
> ;  ;; custom-set-variables was added by Custom.
> ;  ;; If you edit it by hand, you could mess it up, so be careful.
> ;  ;; Your init file should contain only one such instance.
> ;  ;; If there is more than one, they won't work right.
> ; '(cua-mode t nil (cua-base))
> ; '(emacsw32-max-frames nil)
> ; '(emacsw32-mode t)
> ; '(emacsw32-style-frame-title t)
> ; '(htmlize-view-print-visible t t)
> ; '(menuacc-active t nil (menuacc))
> ; '(org-agenda-files (quote ("~/todo.org")))
> ; '(pr-gs-command "c:\\Program Files\\gs\\gs8.54\\bin\\gswin32c.exe")
> ; '(pr-gv-command "C:\\Program Files\\Ghostgum\\gsview\\gsview32.exe")
> ; '(recentf-mode t)
> ; '(swbuff-y-mode t)
> ; '(transient-mark-mode t)
> ; '(w32-feeling-mode t nil (w32-feeling))
> ; '(w32-meta-style (quote w32-lr))

Please try commenting out only the line above.

> ; '(w32-print-menu-show-print nil)
> ; '(w32-print-menu-show-ps-print nil)
> ; '(w32shell-shell (quote cmd)))
> ;(custom-set-faces
> ;  ;; custom-set-faces was added by Custom.
> ;  ;; If you edit it by hand, you could mess it up, so be careful.
> ;  ;; Your init file should contain only one such instance.
> ;  ;; If there is more than one, they won't work right.
> ; )
>
> How does one comment out individual pieces of the custom-set-variables
> definition? My lisp experience is of the cut and paste variety.

Just comment them out line by line here. Make sure the parenthesis match.

But I can't see how any of these affect Alt-Tab. Maybe w32-meta-style,
see above. (If so it is a bug I should fix.)

This is the corresponding parts of my customizations:

(custom-set-variables
  '(cua-mode t nil (cua-base))
  '(emacsw32-max-frames t)
  '(emacsw32-mode t)
  '(emacsw32-remove-emacs-print t)
  '(emacsw32-style-frame-title t)
  '(htmlize-view-print-visible t t)
  '(menuacc-mode t)
  '(org-CUA-compatible t)
  '(org-replace-disputed-keys t)
  '(ourcomments-ido-ctrl-tab t)
  '(recentf-mode t)
  '(w32-meta-style (quote w32-lr))
  '(w32-print-menu-show-print nil)
  '(w32-print-menu-show-ps-print nil)
  '(w32shell-shell (quote cmd)))


> Bill
>
> Bill Raynor
> Innovation Design & Testing
> (920) 721-5973
> Email: bill.raynor@...
>
>
>> -----Original Message-----
>> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
>> Sent: Thursday, July 31, 2008 1:07 PM
>> To: Raynor, Bill
>> Cc: eliz@...; help-emacs-windows@...
>> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>>
>> Hi Bill,
>>
>> It tells us that the problem is related to your setup, not that the
>> cause necessarily is there.
>>
>> Could you try to find out what in your .emacs that causes this
> problem?
>>
>> Raynor, Bill wrote:
>>> Lennart,
>>>
>>> There is no problem if I start use "emacs -Q" from the command line
> in
>>> C:\apps\emacs\emacs\bin
>>>
>>> The problem occurs if I start it with a simple "emacs " command.
>>>
>>> The problem still occurs if I use the icon in the systray. That
> points
>>> to C:\Apps\Emacs\emacs\bin\emacsclientw.exe -n
>>>
>>> Does this point to a problem in my .emacs file or something else?
>>> Thanks.
>>>
>>> Bill Raynor
>>> Innovation Design & Testing
>>> (920) 721-5973
>>> Email: bill.raynor@...
>>>
>>>> -----Original Message-----
>>>> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
>>>> Sent: Wednesday, July 30, 2008 5:37 PM
>>>> To: Raynor, Bill
>>>> Cc: eliz@...; help-emacs-windows@...
>>>> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>>>>
>>>> Raynor, Bill wrote:
>>>>> For Lennart's questions:
>>>>> 1. Yes, the problem persists after reboot.
>>>>> 2. The problem only occurs with emacs. For example, if emacs only
>>> covers
>>>>> part of the window if I click on the outlook or firefox in the
>>>>> background, alt-tab works as it should.
>>>>> 3. Since the behavior is tied to the emacs window, everything is
>>> okay
>>>>> when that window does not have the focus, and after emacs has been
>>>>> closed using C-x-C-c
>>>> Could you please try and see if this problem is there if you start
>>> Emacs
>>>> with
>>>>
>>>>    emacs -Q
>>>>
>>>
>>>
>>>
>>> This e-mail is intended for the use of the addressee(s) only and may
>> contain privileged, confidential, or proprietary information that is
>> exempt from disclosure under law.  If you have received this message
> in
>> error, please inform us promptly by reply e-mail, then delete the
> e-mail
>> and destroy any printed copy.   Thank you.
>>>
>>>
>
>
>
>  
> This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.
>
>
>



RE: Alt-tab does not switch tasks

by Raynor, Bill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lennart,
I copied your custom-set-variables defn into my .emacs and the ALT-TAB
problem reappeared.
When I commented out the w32-meta-style line, the problem goes away.

Thanks.

Bill Raynor
Innovation Design & Testing
(920) 721-5973
Email: bill.raynor@...


> -----Original Message-----
> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> Sent: Thursday, July 31, 2008 3:04 PM
> To: Raynor, Bill
> Cc: eliz@...; help-emacs-windows@...
> Subject: Re: [h-e-w] Alt-tab does not switch tasks
>
> Raynor, Bill wrote:
> > If I eliminate the entire (custom-set-variables ... definition the
> > ALT-Tab problem goes away.
> > If I comment out " ;(desktop-save-mode 1)" the pid complaint ceases.
>
> Thanks.
>
> > Here is the custom-set-variables definition:
> > ;(custom-set-variables
> > ;  ;; custom-set-variables was added by Custom.
> > ;  ;; If you edit it by hand, you could mess it up, so be careful.
> > ;  ;; Your init file should contain only one such instance.
> > ;  ;; If there is more than one, they won't work right.
> > ; '(cua-mode t nil (cua-base))
> > ; '(emacsw32-max-frames nil)
> > ; '(emacsw32-mode t)
> > ; '(emacsw32-style-frame-title t)
> > ; '(htmlize-view-print-visible t t)
> > ; '(menuacc-active t nil (menuacc))
> > ; '(org-agenda-files (quote ("~/todo.org")))
> > ; '(pr-gs-command "c:\\Program
Files\\gs\\gs8.54\\bin\\gswin32c.exe")
> > ; '(pr-gv-command "C:\\Program
Files\\Ghostgum\\gsview\\gsview32.exe")

> > ; '(recentf-mode t)
> > ; '(swbuff-y-mode t)
> > ; '(transient-mark-mode t)
> > ; '(w32-feeling-mode t nil (w32-feeling))
> > ; '(w32-meta-style (quote w32-lr))
>
> Please try commenting out only the line above.
>
> > ; '(w32-print-menu-show-print nil)
> > ; '(w32-print-menu-show-ps-print nil)
> > ; '(w32shell-shell (quote cmd)))
> > ;(custom-set-faces
> > ;  ;; custom-set-faces was added by Custom.
> > ;  ;; If you edit it by hand, you could mess it up, so be careful.
> > ;  ;; Your init file should contain only one such instance.
> > ;  ;; If there is more than one, they won't work right.
> > ; )
> >
> > How does one comment out individual pieces of the
custom-set-variables
> > definition? My lisp experience is of the cut and paste variety.
>
> Just comment them out line by line here. Make sure the parenthesis
match.

>
> But I can't see how any of these affect Alt-Tab. Maybe w32-meta-style,
> see above. (If so it is a bug I should fix.)
>
> This is the corresponding parts of my customizations:
>
> (custom-set-variables
>   '(cua-mode t nil (cua-base))
>   '(emacsw32-max-frames t)
>   '(emacsw32-mode t)
>   '(emacsw32-remove-emacs-print t)
>   '(emacsw32-style-frame-title t)
>   '(htmlize-view-print-visible t t)
>   '(menuacc-mode t)
>   '(org-CUA-compatible t)
>   '(org-replace-disputed-keys t)
>   '(ourcomments-ido-ctrl-tab t)
>   '(recentf-mode t)
>   '(w32-meta-style (quote w32-lr))
>   '(w32-print-menu-show-print nil)
>   '(w32-print-menu-show-ps-print nil)
>   '(w32shell-shell (quote cmd)))
>
>
> > Bill
> >
> > Bill Raynor
> > Innovation Design & Testing
> > (920) 721-5973
> > Email: bill.raynor@...
> >
> >
> >> -----Original Message-----
> >> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> >> Sent: Thursday, July 31, 2008 1:07 PM
> >> To: Raynor, Bill
> >> Cc: eliz@...; help-emacs-windows@...
> >> Subject: Re: [h-e-w] Alt-tab does not switch tasks
> >>
> >> Hi Bill,
> >>
> >> It tells us that the problem is related to your setup, not that the
> >> cause necessarily is there.
> >>
> >> Could you try to find out what in your .emacs that causes this
> > problem?
> >>
> >> Raynor, Bill wrote:
> >>> Lennart,
> >>>
> >>> There is no problem if I start use "emacs -Q" from the command
line

> > in
> >>> C:\apps\emacs\emacs\bin
> >>>
> >>> The problem occurs if I start it with a simple "emacs " command.
> >>>
> >>> The problem still occurs if I use the icon in the systray. That
> > points
> >>> to C:\Apps\Emacs\emacs\bin\emacsclientw.exe -n
> >>>
> >>> Does this point to a problem in my .emacs file or something else?
> >>> Thanks.
> >>>
> >>> Bill Raynor
> >>> Innovation Design & Testing
> >>> (920) 721-5973
> >>> Email: bill.raynor@...
> >>>
> >>>> -----Original Message-----
> >>>> From: Lennart Borgman (gmail) [mailto:lennart.borgman@...]
> >>>> Sent: Wednesday, July 30, 2008 5:37 PM
> >>>> To: Raynor, Bill
> >>>> Cc: eliz@...; help-emacs-windows@...
> >>>> Subject: Re: [h-e-w] Alt-tab does not switch tasks
> >>>>
> >>>> Raynor, Bill wrote:
> >>>>> For Lennart's questions:
> >>>>> 1. Yes, the problem persists after reboot.
> >>>>> 2. The problem only occurs with emacs. For example, if emacs
only
> >>> covers
> >>>>> part of the window if I click on the outlook or firefox in the
> >>>>> background, alt-tab works as it should.
> >>>>> 3. Since the behavior is tied to the emacs window, everything is
> >>> okay
> >>>>> when that window does not have the focus, and after emacs has
been
> >>>>> closed using C-x-C-c
> >>>> Could you please try and see if this problem is there if you
start
> >>> Emacs
> >>>> with
> >>>>
> >>>>    emacs -Q
> >>>>
> >>>
> >>>
> >>>
> >>> This e-mail is intended for the use of the addressee(s) only and
may
> >> contain privileged, confidential, or proprietary information that
is
> >> exempt from disclosure under law.  If you have received this
message

> > in
> >> error, please inform us promptly by reply e-mail, then delete the
> > e-mail
> >> and destroy any printed copy.   Thank you.
> >>>
> >>>
> >
> >
> >
> >
> > This e-mail is intended for the use of the addressee(s) only and may
> contain privileged, confidential, or proprietary information that is
> exempt from disclosure under law.  If you have received this message
in
> error, please inform us promptly by reply e-mail, then delete the
e-mail
> and destroy any printed copy.   Thank you.
> >
> >
> >
>