emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unable to compile using Emacs 23 in Windows
@ 2009-08-27 14:48 Paul Mead
  2009-08-27 15:06 ` Manish
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Mead @ 2009-08-27 14:48 UTC (permalink / raw)
  To: emacs-orgmode

I had everything working fine using NT Emacs v22.xxx but now that I've
completely upgraded to 23 I'm getting numerous warnings comiling org.el,
org-agenda.el,  and it just hangs on org-attach.el. Not even an error to
work with.

If there's one thing I can't stand it's silent failure :-)

I tried to redirect the errors to a text file, but it only captured the
commands, not the errors. Any suggestions?

Just my luck, everything works fine on my Linux machine, but I use org-mode
mostly on the work laptop which is Windows.

Thanks
Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Unable to compile using Emacs 23 in Windows
  2009-08-27 14:48 Unable to compile using Emacs 23 in Windows Paul Mead
@ 2009-08-27 15:06 ` Manish
  2009-08-27 15:11   ` Paul Mead
  2009-08-27 15:27   ` Paul Mead
  0 siblings, 2 replies; 7+ messages in thread
From: Manish @ 2009-08-27 15:06 UTC (permalink / raw)
  To: Paul Mead; +Cc: emacs-orgmode

On Thu, Aug 27, 2009 at 8:18 PM, Paul Mead wrote:
> I had everything working fine using NT Emacs v22.xxx but now that I've
> completely upgraded to 23 I'm getting numerous warnings comiling org.el,
> org-agenda.el, and it just hangs on org-attach.el. Not even an error to
> work with.
>
> If there's one thing I can't stand it's silent failure :-)
>
> I tried to redirect the errors to a text file, but it only captured the
> commands, not the errors. Any suggestions?
>
> Just my luck, everything works fine on my Linux machine, but I use org-mode
> mostly on the work laptop which is Windows.

How do you compile Org on Windows?  Using the solution that Sebastian and
others recently worked out or some other way?

FWIW, I use Cygwin Emacs (23) to compile Org but use Windows GNU Emacs
exclusively.  There are some odd looking messages but they have never bothered
me (compilation log at http://paste.lisp.org/display/86127)

-- 
Manish

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Unable to compile using Emacs 23 in Windows
  2009-08-27 15:06 ` Manish
@ 2009-08-27 15:11   ` Paul Mead
  2009-08-27 15:27   ` Paul Mead
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Mead @ 2009-08-27 15:11 UTC (permalink / raw)
  To: Manish; +Cc: emacs-orgmode

2009/8/27 Manish <mailtomanish.sharma@gmail.com>:
> On Thu, Aug 27, 2009 at 8:18 PM, Paul Mead wrote:
>> I had everything working fine using NT Emacs v22.xxx but now that I've
>> completely upgraded to 23 I'm getting numerous warnings comiling org.el,
>> org-agenda.el, and it just hangs on org-attach.el. Not even an error to
>> work with.
>>
>> If there's one thing I can't stand it's silent failure :-)
>>
>> I tried to redirect the errors to a text file, but it only captured the
>> commands, not the errors. Any suggestions?
>>
>> Just my luck, everything works fine on my Linux machine, but I use org-mode
>> mostly on the work laptop which is Windows.
>
> How do you compile Org on Windows?  Using the solution that Sebastian and
> others recently worked out or some other way?
>
> FWIW, I use Cygwin Emacs (23) to compile Org but use Windows GNU Emacs
> exclusively.  There are some odd looking messages but they have never bothered
> me (compilation log at http://paste.lisp.org/display/86127)
>
> --
> Manish
>
Manish

I use cygwin and Windows GNU Emacs like you - never a problem in the
past, and never had so many errors in the past either. I've just
looked up redirecting stderror so I can post the errors and see if it
sheds any light.

Thanks, Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Unable to compile using Emacs 23 in Windows
  2009-08-27 15:06 ` Manish
  2009-08-27 15:11   ` Paul Mead
@ 2009-08-27 15:27   ` Paul Mead
  2009-08-28 11:29     ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Mead @ 2009-08-27 15:27 UTC (permalink / raw)
  To: emacs-orgmode

Manish <mailtomanish.sharma@gmail.com> writes:

> On Thu, Aug 27, 2009 at 8:18 PM, Paul Mead wrote:
>> I had everything working fine using NT Emacs v22.xxx but now that I've
>> completely upgraded to 23 I'm getting numerous warnings comiling org.el,
>> org-agenda.el, and it just hangs on org-attach.el. Not even an error to
>> work with.
>>
>> If there's one thing I can't stand it's silent failure :-)
>>
>> I tried to redirect the errors to a text file, but it only captured the
>> commands, not the errors. Any suggestions?
>>
>> Just my luck, everything works fine on my Linux machine, but I use org-mode
>> mostly on the work laptop which is Windows.
>
> How do you compile Org on Windows?  Using the solution that Sebastian and
> others recently worked out or some other way?
>
> FWIW, I use Cygwin Emacs (23) to compile Org but use Windows GNU Emacs
> exclusively.  There are some odd looking messages but they have never bothered
> me (compilation log at http://paste.lisp.org/display/86127)
OK, so I've managed to redirect stderr so I can show you what I
get. Doesn't look much different to the start of your log to be honest.

--------------------------
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org.el

In org-version:
org.el:105:23:Warning: attempt to let-bind constant `org-version'
org.el:125:49:Warning: variable assignment to constant `org-version'

In org-read-date:
org.el:12359:11:Warning: `view-diary-entries-initially' is an obsolete
    variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag'
    instead.
org.el:12361:11:Warning: `view-calendar-holidays-initially' is an obsolete
    variable (as of Emacs 23.1); use `calendar-view-holidays-initially-flag'
    instead.

In org-goto-calendar:
org.el:13369:10:Warning: `view-diary-entries-initially' is an obsolete
    variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag'
    instead.
org.el:13367:10:Warning: `view-calendar-holidays-initially' is an obsolete
    variable (as of Emacs 23.1); use `calendar-view-holidays-initially-flag'
    instead.

In org-iswitchb:
org.el:13484:8:Warning: function `org-iswitchb' defined multiple times in this
    file

In org-create-formula-image:
org.el:14051:19:Warning: reference to free variable
    `org-export-latex-packages-alist'
Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-agenda.el

In org-agenda-get-some-entry-text:
org-agenda.el:2275:43:Warning: assignment to free variable `drawer-re'
org-agenda.el:2282:43:Warning: assignment to free variable `kwd-time-re'
org-agenda.el:2278:28:Warning: reference to free variable `drawer-re'
org-agenda.el:2302:43:Warning: reference to free variable `kwd-time-re'
org-agenda.el:2293:27:Warning: assignment to free variable `ind'
org-agenda.el:2298:37:Warning: reference to free variable `ind'

In org-get-entries-from-diary:
org-agenda.el:3446:11:Warning: `fancy-diary-buffer' is an obsolete variable
    (as of Emacs 23.1); use `diary-fancy-buffer' instead.

In org-agenda-goto-calendar:
org-agenda.el:6329:11:Warning: `view-calendar-holidays-initially' is an
    obsolete variable (as of Emacs 23.1); use
    `calendar-view-holidays-initially-flag' instead.
org-agenda.el:6330:11:Warning: `view-diary-entries-initially' is an obsolete
    variable (as of Emacs 23.1); use `calendar-view-diary-initially-flag'
    instead.
Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org-agenda.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-ascii.el
Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org-ascii.elc
emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/org-attach.el
make: *** [lisp/org-attach.elc] Interrupt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Unable to compile using Emacs 23 in Windows
  2009-08-27 15:27   ` Paul Mead
@ 2009-08-28 11:29     ` Carsten Dominik
  2009-08-28 12:36       ` Paul Mead
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-08-28 11:29 UTC (permalink / raw)
  To: Paul Mead; +Cc: emacs-orgmode


On Aug 27, 2009, at 5:27 PM, Paul Mead wrote:

> Manish <mailtomanish.sharma@gmail.com> writes:
>
>> On Thu, Aug 27, 2009 at 8:18 PM, Paul Mead wrote:
>>> I had everything working fine using NT Emacs v22.xxx but now that  
>>> I've
>>> completely upgraded to 23 I'm getting numerous warnings comiling  
>>> org.el,
>>> org-agenda.el, and it just hangs on org-attach.el. Not even an  
>>> error to
>>> work with.
>>>
>>> If there's one thing I can't stand it's silent failure :-)
>>>
>>> I tried to redirect the errors to a text file, but it only  
>>> captured the
>>> commands, not the errors. Any suggestions?
>>>
>>> Just my luck, everything works fine on my Linux machine, but I use  
>>> org-mode
>>> mostly on the work laptop which is Windows.
>>
>> How do you compile Org on Windows?  Using the solution that  
>> Sebastian and
>> others recently worked out or some other way?
>>
>> FWIW, I use Cygwin Emacs (23) to compile Org but use Windows GNU  
>> Emacs
>> exclusively.  There are some odd looking messages but they have  
>> never bothered
>> me (compilation log at http://paste.lisp.org/display/86127)
> OK, so I've managed to redirect stderr so I can show you what I
> get. Doesn't look much different to the start of your log to be  
> honest.
>
> --------------------------
> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
> org.el
>
> In org-version:
> org.el:105:23:Warning: attempt to let-bind constant `org-version'
> org.el:125:49:Warning: variable assignment to constant `org-version'
>
> In org-read-date:
> org.el:12359:11:Warning: `view-diary-entries-initially' is an obsolete
>    variable (as of Emacs 23.1); use `calendar-view-diary-initially- 
> flag'
>    instead.
> org.el:12361:11:Warning: `view-calendar-holidays-initially' is an  
> obsolete
>    variable (as of Emacs 23.1); use `calendar-view-holidays- 
> initially-flag'
>    instead.
>
> In org-goto-calendar:
> org.el:13369:10:Warning: `view-diary-entries-initially' is an obsolete
>    variable (as of Emacs 23.1); use `calendar-view-diary-initially- 
> flag'
>    instead.
> org.el:13367:10:Warning: `view-calendar-holidays-initially' is an  
> obsolete
>    variable (as of Emacs 23.1); use `calendar-view-holidays- 
> initially-flag'
>    instead.
>
> In org-iswitchb:
> org.el:13484:8:Warning: function `org-iswitchb' defined multiple  
> times in this
>    file
>
> In org-create-formula-image:
> org.el:14051:19:Warning: reference to free variable
>    `org-export-latex-packages-alist'
> Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org.elc
> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
> org-agenda.el
>
> In org-agenda-get-some-entry-text:
> org-agenda.el:2275:43:Warning: assignment to free variable `drawer-re'
> org-agenda.el:2282:43:Warning: assignment to free variable `kwd-time- 
> re'
> org-agenda.el:2278:28:Warning: reference to free variable `drawer-re'
> org-agenda.el:2302:43:Warning: reference to free variable `kwd-time- 
> re'
> org-agenda.el:2293:27:Warning: assignment to free variable `ind'
> org-agenda.el:2298:37:Warning: reference to free variable `ind'
>
> In org-get-entries-from-diary:
> org-agenda.el:3446:11:Warning: `fancy-diary-buffer' is an obsolete  
> variable
>    (as of Emacs 23.1); use `diary-fancy-buffer' instead.
>
> In org-agenda-goto-calendar:
> org-agenda.el:6329:11:Warning: `view-calendar-holidays-initially' is  
> an
>    obsolete variable (as of Emacs 23.1); use
>    `calendar-view-holidays-initially-flag' instead.
> org-agenda.el:6330:11:Warning: `view-diary-entries-initially' is an  
> obsolete
>    variable (as of Emacs 23.1); use `calendar-view-diary-initially- 
> flag'
>    instead.
> Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org-agenda.elc
> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
> org-ascii.el
> Wrote c:/home/MEAD8982/elisp/org-mode/lisp/org-ascii.elc
> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote load- 
> path) \"/usr/local/share/emacs/site-lisp\") (add-to-list (quote load- 
> path) (expand-file-name \"./lisp/\")))" -f batch-byte-compile lisp/ 
> org-attach.el
> make: *** [lisp/org-attach.elc] Interrupt


Hi Paul,

did you interrupt the compilation here?

The fact that there are a number of compilation *warnings* is no  
problem at all,
I do clean these up only occasionally, for a release.  In between  
releases,
the can be present and usually pose no problem.

The messages about goto-line are from a new policy in Emacs,  
apparently this
is no longer a function that should be called from Lisp programs....

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Unable to compile using Emacs 23 in Windows
  2009-08-28 11:29     ` Carsten Dominik
@ 2009-08-28 12:36       ` Paul Mead
  2009-08-28 12:57         ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Mead @ 2009-08-28 12:36 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

>
>
> Hi Paul,
>
> did you interrupt the compilation here?
>
> The fact that there are a number of compilation *warnings* is no problem at all,
> I do clean these up only occasionally, for a release.  In between releases,
> the can be present and usually pose no problem.
>
> The messages about goto-line are from a new policy in Emacs, apparently this
> is no longer a function that should be called from Lisp programs....
>
> - Carsten

Hi Carsten

yes, I interrupted the compilation as it was stuck there. 

Pulling the next version seemed to cure the problem.

I was able to byte-compile the files from dired with no problems, I
don't know if that makes it more or less clear?

Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: Unable to compile using Emacs 23 in Windows
  2009-08-28 12:36       ` Paul Mead
@ 2009-08-28 12:57         ` Carsten Dominik
  0 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-08-28 12:57 UTC (permalink / raw)
  To: Paul Mead; +Cc: emacs-orgmode


On Aug 28, 2009, at 2:36 PM, Paul Mead wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>>
>>
>> Hi Paul,
>>
>> did you interrupt the compilation here?
>>
>> The fact that there are a number of compilation *warnings* is no  
>> problem at all,
>> I do clean these up only occasionally, for a release.  In between  
>> releases,
>> the can be present and usually pose no problem.
>>
>> The messages about goto-line are from a new policy in Emacs,  
>> apparently this
>> is no longer a function that should be called from Lisp programs....
>>
>> - Carsten
>
> Hi Carsten
>
> yes, I interrupted the compilation as it was stuck there.
>
> Pulling the next version seemed to cure the problem.
>
> I was able to byte-compile the files from dired with no problems, I
> don't know if that makes it more or less clear?

Not clearer, I don't know how it could get stuck.
Anyway, good that it is solved, apparently....

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-08-28 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-27 14:48 Unable to compile using Emacs 23 in Windows Paul Mead
2009-08-27 15:06 ` Manish
2009-08-27 15:11   ` Paul Mead
2009-08-27 15:27   ` Paul Mead
2009-08-28 11:29     ` Carsten Dominik
2009-08-28 12:36       ` Paul Mead
2009-08-28 12:57         ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).