Stephen Leake | 1 Sep 10:23
Favicon

rev 539: * lisp/dvc-unified.el (dvc-log): Change prefix arg to force prompt for tree root, rather than setting last-n.

Committed revision 539 to http://stephe-leake.org/dvc

* lisp/dvc-unified.el (dvc-log): Change prefix arg to force prompt for tree root, rather than setting last-n.

--

-- 
-- Stephe
Shane Corgatelli | 3 Sep 18:45
Favicon

define-obsolete-face-alias error when opening a file

When DVC is enabled I get the following error when I try to open a file:

'eval-buffer: Symbol's function definition is void: define-obsolete-face-alias'

It doesn't seem to matter what file I am opening or the mode. I've had
the error when opening my .emacs file, a file using CPerl mode, and a
file using Fundamental mode. The weird thing is that if I try to open
the file a second time, it works. It seems that the DVC commands work
correctly once I get the file loaded.

I have flyspell, and perltidy enabled, but I get the error even if I
disable them. I'm using Emacs 23.0.60.1 on ubuntu.

Thanks
--

-- 
Shane Corgatelli

Programming Manager
EZ-NetTools
http://www.eznettools.net/
Matthieu Moy | 3 Sep 19:01
Picon

Re: define-obsolete-face-alias error when opening a file

Shane Corgatelli <shane <at> eznettools.com> writes:

> When DVC is enabled I get the following error when I try to open a file:
>
> 'eval-buffer: Symbol's function definition is void: define-obsolete-face-alias'

That's weird:

dvc/moy$ grep -irn obsolete **/*.el
lisp/tla.el:2517:  (dvc-trace "OBSOLETE")
lisp/tla.el:2543:  (dvc-trace "OBSOLETE")
lisp/tla.el:3582:(defun tla-bookmarks-load-from-file-OBSOLETE (&optional force)
lisp/tla.el:3609:             (tla-bookmarks-load-from-file-OBSOLETE force)))))

On my Emacs 21.3.5, I have

,----[ C-h f define-obsolete-face-alias RET ]
| define-obsolete-face-alias is defidefine-obsolete-face-alias is a Lisp macro in `byte-run.el'.
| 
| (define-obsolete-face-alias obsolete-face current-face &optional when)
| 
| Make obsolete-face a face alias for current-face and mark it obsolete.
| The optional string when gives the Emacs version where obsolete-face
| became obsolete.
| 
| [back]
`----

It seems the function is used by the byte-compiler. It's likely that
there's a problem either with your version of Emacs (you should
(Continue reading)

Stefan Reichör | 3 Sep 20:09
Picon

[commit] rev 563: Merged from Stephen Leake: Various changes (mostly xmtn)

Committed revision 563 to http://bzr.xsteve.at/dvc/

Merged from Stephen Leake: Various changes (mostly xmtn)
Stephen Leake | 4 Sep 09:28
Favicon

Re: define-obsolete-face-alias error when opening a file

Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> writes:

> Shane Corgatelli <shane <at> eznettools.com> writes:
>
>> When DVC is enabled I get the following error when I try to open a file:
>>
>> 'eval-buffer: Symbol's function definition is void: define-obsolete-face-alias'
>
> That's weird:
>
> dvc/moy$ grep -irn obsolete **/*.el
> lisp/tla.el:2517:  (dvc-trace "OBSOLETE")
> lisp/tla.el:2543:  (dvc-trace "OBSOLETE")
> lisp/tla.el:3582:(defun tla-bookmarks-load-from-file-OBSOLETE (&optional force)
> lisp/tla.el:3609:             (tla-bookmarks-load-from-file-OBSOLETE force)))))
>
> On my Emacs 21.3.5, I have
>
> ,----[ C-h f define-obsolete-face-alias RET ]
> | define-obsolete-face-alias is defidefine-obsolete-face-alias is a Lisp macro in `byte-run.el'.
> | 
> | (define-obsolete-face-alias obsolete-face current-face &optional when)
> | 
> | Make obsolete-face a face alias for current-face and mark it obsolete.
> | The optional string when gives the Emacs version where obsolete-face
> | became obsolete.
> | 
> | [back]
> `----
>
(Continue reading)

Stephen Leake | 4 Sep 09:32
Favicon

Emacs 23

Emacs 23.1 is released; I've switched to using it.

The byte-compiler now warns about using the Common Lisp runtime.
Compiling DVC gets many warnings, mostly in xmtn.

I will work on eliminating CL runtime from the xmtn packages; that
will take a lot of work.

--

-- 
-- Stephe
Matthieu Moy | 4 Sep 09:41
Picon

Re: Emacs 23

Stephen Leake <stephen_leake <at> stephe-leake.org> writes:

> Emacs 23.1 is released; I've switched to using it.
>
> The byte-compiler now warns about using the Common Lisp runtime.
> Compiling DVC gets many warnings, mostly in xmtn.

(I don't consider these very important, but it's good to follow the
guidelines ...)

> I will work on eliminating CL runtime from the xmtn packages; that
> will take a lot of work.

Most of the 'cl things are actually macros, so first thing you can do
it to replace

(eval-and-compile (require 'cl))

by just (eval-when-compile ...).

Then, the warnings I get are :

Warning: Function `gensym' from cl package called at runtime
Warning: Function `subseq' from cl package called at runtime
Warning: Function `gensym' from cl package called at runtime
Warning: Function `some' from cl package called at runtime

gensym => see `dvc-gensym', they should be similar.

Thanks for your work,
(Continue reading)

Stephen Leake | 4 Sep 13:42
Favicon

Re: Emacs 23

Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> writes:

> Stephen Leake <stephen_leake <at> stephe-leake.org> writes:
>
>> Emacs 23.1 is released; I've switched to using it.
>>
>> The byte-compiler now warns about using the Common Lisp runtime.
>> Compiling DVC gets many warnings, mostly in xmtn.
>
> (I don't consider these very important, but it's good to follow the
> guidelines ...)

There is a bug in the xmtn code somewhere that causes a 'c' or 'C-c'
key event to be generated, intermittently. I suspect that is due to
the CL runtime; the bzr code doesn't exhibit the same bug, and the
main difference is the CL runtime (assuming the external process
running mtn isn't the problem!).

The reason the CL runtime is deprecated is that it has bugs. So we
should not use it.

I generally find fixing warnings to be a good thing. There are always
exceptions, so it would be nice if we could tell the byte compiler to
shut up in specific instances, like dir-compare in dvc-fileinfo, and
captured-values in dvc-lisp. In those cases, we could declare a global
variable, but that seems wrong.

>> I will work on eliminating CL runtime from the xmtn packages; that
>> will take a lot of work.
>
(Continue reading)

Matthieu Moy | 4 Sep 14:16
Picon

Re: Emacs 23

Stephen Leake <stephen_leake <at> stephe-leake.org> writes:

> Currently, dvc-gensym is only used in tla-tests.el.

It's used also in the `dvc-capturing-lambda' stuff in dvc-lisp.el.

> I gather with-temp-buffer isn't used there because it let-binds a
> symbol 'temp-buffer' that might hide a symbol in the user-provided
> `forms' argument? That seems unlikely, but it is certainly possible.
> Or maybe the tla code was written before with-temp-buffer was
> available.

I don't remember (one could play with the old GNU Arch archive to see
the history of the code, but it's revision 1 in the bzr archive).

Google tells me other alternatives:

,----[ http://www.opensubscriber.com/message/emacs-devel <at> gnu.org/11105022.html ]
| I think in general, most packages just don't use gensym.  You can use
| make-symbol or #:foo instead.
| 
| -Miles 
`----

--

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Veronica Mcguire | 10 Sep 22:23
Picon

Please her more with Penboost tabs!

Etes-vous satisfaits de notre garantie de qualite. Vous pouvez facilement eviter l'embarras. Le temps et quelque chose pour votre sante.

Avec nous, et facile d'etre en bonne sante. Avec les clients afin de reiterer les medicaments generiques a faible cout.

http://heatdecide.com
_______________________________________________
Xtla-el-dev mailing list
Xtla-el-dev <at> gna.org
https://mail.gna.org/listinfo/xtla-el-dev

Gmane