all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Hunting the culprit package
@ 2022-08-31  5:41 Pankaj Jangid
  2022-08-31 12:25 ` Stefan Monnier
  0 siblings, 1 reply; 34+ messages in thread
From: Pankaj Jangid @ 2022-08-31  5:41 UTC (permalink / raw)
  To: Emacs Development

I am trying to find out which package inside my ~/.emacs.d/elpa is the
culprit. One of the packages is introducing a bug. I know this because
when I move my ~/.emacs.d/elpa directory and launch emacs without any
packages installed then it works fine.

Also, when I install all the packages afresh, then also emacs works fine
i.e. a freshly created ~/.emacs.d/elpa is *not* creating any issue. So
something is wrong in my old ~/.emacs.d/elpa. So I tried to figure out
what is happening in my old ~/.emacs.d/elpa directory.

Before that I restored my old ~/.emacs.d/elpa and upgraded all the
packages to latest. And then compared old an new directories using "diff
-r". Strangely, the diff output is 900+ lines.

My question is that - why there is a difference? I have refreshed all
the packages in old ~/.emacs.d/elpa directory and comparing it with a
freshly created ~/.emacs.d/elpa. And the difference is not in cache
etc. "diff -r" is clearly showing differences in source files. Sample,

--8<---------------cut here---------------start------------->8---
diff -r elpa/dash-20220608.1931/dash-autoloads.el elnew/dash-20220608.1931/dash-autoloads.el
42c42
< (fn &optional ARG)" t nil)
---
> (fn &optional ARG)" t)
66c66
< (fn &optional ARG)" t nil)
---
> (fn &optional ARG)" t)
69c69
< This allows Dash symbols to be looked up with \\[info-lookup-symbol]." t nil)
---
> This allows Dash symbols to be looked up with \\[info-lookup-symbol]." t)

...


diff -r elpa/yaml-mode-20220104.1503/yaml-mode-pkg.el elnew/yaml-mode-20220104.1503/yaml-mode-pkg.el
2c2
< (define-package "yaml-mode" "20220104.1503" "Major mode for editing YAML files" '((emacs "24.1")) :commit "535273d5a1eb76999d20afbcf4d9f056d8ffd2da" :authors '(("Yoshiki Kurihara" . "clouder@gmail.com") ("Marshall T. Vandegrift" . "llasram@gmail.com")) :maintainer '("Vasilij Schneidermann" . "mail@vasilij.de") :keywords '("data" "yaml") :url "https://github.com/yoshiki/yaml-mode")
---
> (define-package "yaml-mode" "20220104.1503" "Major mode for editing YAML files" '((emacs "24.1")) :commit "a79d2a7b9281f8c56f461d717b1ba40fc58e22fd" :authors '(("Yoshiki Kurihara" . "clouder@gmail.com") ("Marshall T. Vandegrift" . "llasram@gmail.com")) :maintainer '("Vasilij Schneidermann" . "mail@vasilij.de") :keywords '("data" "yaml") :url "https://github.com/yoshiki/yaml-mode")
--8<---------------cut here---------------end--------------->8---

Also, if this is not the correct way to approach then how to find which
the old package that was creating the issue. This is in addition to my
earlier question - why there are differences between refreshed upgraded
packages and packages installed from scratch.

All clues will help.

Regards
Pankaj



^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: Magit
@ 2022-09-04  4:13 Payas Relekar
  2022-09-04  5:25 ` Magit Eli Zaretskii
  0 siblings, 1 reply; 34+ messages in thread
From: Payas Relekar @ 2022-09-04  4:13 UTC (permalink / raw)
  To: emacs-devel

Akib Azmain Turja <akib@disroot.org> writes:

>>> What about VC?  Why people don't use it much?
>>
>> People do use VC quite a lot.
>
> Maybe my wordings were not clear.  I meant - why people don't talk about
> VC much?

VC is alright, but it requires some basic learning.

Magit is instantly intuitive and all interactive. Its a difference
between telling computer what to do vs computer asking/presenting
options for what needs to be done.

Its bit hard to describe, but in short Magit provides superior UX by a
wide margin.

Thanks,
Payas

--



^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: Magit
@ 2022-09-03 14:35 Payas Relekar
  0 siblings, 0 replies; 34+ messages in thread
From: Payas Relekar @ 2022-09-03 14:35 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Akib Azmain Turja [2022-09-03 12:29:08] wrote:
>> Richard Stallman <rms@gnu.org> writes:
>>> What is the situation with preparing to include Magit in Emacs?
>>
>> I don't think that will ever happen.  Magit has many contributors, and
>> many of them hasn't completed the paperwork.  So including Magit in
>> Emacs would be pretty hard (if possible)?
>
> Actually, in a sense it's pretty easy: just make an exception for the
> rule that all code needs to have its copyright assigned to the FSF.
>
> Whether we want to make such an exception here of course is
> another question.
>
> But even if we do make such an exception, having a copy of Magit in
> `emacs.git` would add extra maintenance burden to keep that copy in sync
> with the one maintained elsewhere.  So for administrative reasons, it's
> probably preferable to keep it outside of `emacs.git`.
>

For what its worth, my 2c:

Magit is one of the _killer apps_ of Emacs. I was drawn by allure of
org-mode, but was hooked in with magit. I have ready fair number of
anecdotes with similar story and perhaps another equal number who use
Emacs exclusively for magit.

I am also not alone to say magit is the best git user interface in
existence, for many reasons, one of them being it uses Git's own idioms
and does not invent its own terminology like many others.

If maintaining org-mode outside Emacs and regularly merging it has been
managed so far, I am fairly certain it can be done with magit too. I am
fairly noob, but will be willing to take on the task to do it for magit
should it be included in core.

As for copyright, there are better people to discuss and resolve that
matter.

Regards,
Payas
--



^ permalink raw reply	[flat|nested] 34+ messages in thread
* magit
@ 2010-02-28  0:41 Henri-Paul Indiogine
  2010-02-28 14:32 ` magit Óscar Fuentes
  0 siblings, 1 reply; 34+ messages in thread
From: Henri-Paul Indiogine @ 2010-02-28  0:41 UTC (permalink / raw)
  To: help-gnu-emacs

I am trying to learn how to use magit.  I managed to commit a file and
now I am trying to figure out how to check it out.  I looked at the
manual and also a tutorial but could find a reference to checking out a
committed file.

Thanks,


-- 
Henri-Paul Indiogine
Email: hindiogine@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico





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

end of thread, other threads:[~2022-09-07 13:02 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31  5:41 Hunting the culprit package Pankaj Jangid
2022-08-31 12:25 ` Stefan Monnier
2022-08-31 17:20   ` Pankaj Jangid
2022-08-31 22:12     ` Stefan Monnier
2022-09-01  0:31       ` T.V Raman
2022-09-03  2:51         ` Magit Richard Stallman
2022-09-03  6:29           ` Magit Akib Azmain Turja
2022-09-03 14:20             ` Magit Stefan Monnier
2022-09-03 14:56               ` Magit Eli Zaretskii
2022-09-03 18:22                 ` Magit Akib Azmain Turja
2022-09-03 18:34                   ` Magit Eli Zaretskii
2022-09-04  2:47                     ` Magit Akib Azmain Turja
2022-09-04  5:16                       ` Magit Eli Zaretskii
2022-09-03 15:16               ` Magit Stefan Kangas
2022-09-03 18:32                 ` Magit Akib Azmain Turja
2022-09-03 18:51                   ` Magit broken in NonGNU ELPA Stefan Kangas
2022-09-03 19:09                   ` Magit Philip Kaludercic
2022-09-05  4:03                     ` Magit Richard Stallman
2022-09-05  8:58                       ` Magit Philip Kaludercic
2022-09-07  2:19                         ` Magit Richard Stallman
2022-09-07  3:33                           ` Magit Phil Sainty
2022-09-07 12:40                           ` Magit Stefan Monnier
2022-09-07 13:02                             ` Magit Akib Azmain Turja
2022-09-03 18:45                 ` Magit Stefan Monnier
2022-09-05  4:03             ` Magit Richard Stallman
2022-09-05  9:04               ` Magit Philip Kaludercic
2022-09-05 11:48                 ` Magit Eli Zaretskii
2022-09-07  2:19                 ` Magit Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2022-09-04  4:13 Magit Payas Relekar
2022-09-04  5:25 ` Magit Eli Zaretskii
2022-09-04  5:51   ` Magit tomas
2022-09-03 14:35 Magit Payas Relekar
2010-02-28  0:41 magit Henri-Paul Indiogine
2010-02-28 14:32 ` magit Óscar Fuentes

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.