* Where is sr-speedbar.el upstream repo?
@ 2022-07-04 23:21 chen.mingzheng
2022-07-05 0:38 ` Stefan Kangas
0 siblings, 1 reply; 13+ messages in thread
From: chen.mingzheng @ 2022-07-04 23:21 UTC (permalink / raw)
To: emacs-devel
Hello hackers,
I'm add a new feature to sr-speedbar, but I can't find its upstream
repo, Does anyone know where it is? Or should I just send the patch to
this maillist?
Btw, the content of patch is:
diff --git a/sr-speedbar.el b/sr-speedbar.el
index a4ee4bed0..cf86914bf 100644
--- a/sr-speedbar.el
+++ b/sr-speedbar.el
@@ -78,6 +78,12 @@
;; M-x customize-group RET sr-speedbar RET
;;; Change log:
+;; * 04 July 2022:
+;; * Doerthous <doerthous@gmail.com>
+;; * Add support that allows speedbar window split from
`selected-window'
+;; or `frame-root-window'.
+;; * define `sr-speedbar-use-frame-root-window'.
+;;
;; * 22 Sep 2021:
;; * Vasilij Schneidermann <mail@vasilij.de>
;; * Fix cl deprecation warning
@@ -325,6 +331,16 @@ Default is nil."
:type 'boolean
:group 'sr-speedbar)
+(defcustom sr-speedbar-use-frame-root-window nil
+ "Open speedbar based on selected window or frame root window.
+If nil, the speedbar window will split from `selected-window'.
+Otherwise `frame-root-window'.
+Default is nil."
+ :type 'boolean
+ :set (lambda (symbol value)
+ (set symbol value))
+ :group 'sr-speedbar)
+
(if (not (fboundp 'ad-advised-definition-p))
(defun ad-advised-definition-p (definition)
"Return non-nil if DEFINITION was generated from advice
information."
@@ -514,7 +530,9 @@ Otherwise return nil."
(defun sr-speedbar-get-window ()
"Get `sr-speedbar' window."
(setq sr-speedbar-window
- (split-window (selected-window)
+ (split-window (if sr-speedbar-use-frame-root-window
+ (frame-root-window)
+ (selected-window))
(- sr-speedbar-width)
(if sr-speedbar-right-side 'right 'left))))
Thanks in advance, and apologies if this is not the right place to ask.
Doerthous.
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-04 23:21 Where is sr-speedbar.el upstream repo? chen.mingzheng
@ 2022-07-05 0:38 ` Stefan Kangas
2022-07-05 0:51 ` chen.mingzheng
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2022-07-05 0:38 UTC (permalink / raw)
To: chen.mingzheng; +Cc: Emacs developers
chen.mingzheng <chen.mingzheng@outlook.com> writes:
> I'm add a new feature to sr-speedbar, but I can't find its upstream
> repo, Does anyone know where it is? Or should I just send the patch to
> this maillist?
It seems like this package is in the Emacs orphanage, which means that
it is lacking a maintainer. According to emacsmirror.net:
"If other mirrored packages still depend on a package whose upstream
has disappeared or no longer maintains the package, then it is copied
to the Emacsorphanage. The Emacsmirror then mirrors that repository
from the orphanage. The orphanage repository serves as a temporary
home until someone volunteers to take over as maintainer. While a
package is in the orphanage, the maintainer of the Emacsmirror makes
an effort to merge pull requests from users."
So I think you should just send a pull request here:
https://github.com/emacsorphanage/sr-speedbar
Happy to help.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-05 0:38 ` Stefan Kangas
@ 2022-07-05 0:51 ` chen.mingzheng
2022-07-05 1:26 ` Stefan Kangas
0 siblings, 1 reply; 13+ messages in thread
From: chen.mingzheng @ 2022-07-05 0:51 UTC (permalink / raw)
To: Stefan Kangas; +Cc: emacs-devel
Hi Stefan,
Thanks for reply. I noticed the repo you post, but it has not updated
for a long time. The latest changelog in
https://github.com/emacsorphanage/sr-speedbar was 20161025, but the
version in my .emacs.d/ is 20210922. So I guess there may be the latest
version somewhere, however google show me little infomation about that.
在 2022/7/5 8:38, Stefan Kangas 写道:
> chen.mingzheng <chen.mingzheng@outlook.com> writes:
>
>> I'm add a new feature to sr-speedbar, but I can't find its upstream
>> repo, Does anyone know where it is? Or should I just send the patch to
>> this maillist?
>
> It seems like this package is in the Emacs orphanage, which means that
> it is lacking a maintainer. According to emacsmirror.net:
>
> "If other mirrored packages still depend on a package whose upstream
> has disappeared or no longer maintains the package, then it is copied
> to the Emacsorphanage. The Emacsmirror then mirrors that repository
> from the orphanage. The orphanage repository serves as a temporary
> home until someone volunteers to take over as maintainer. While a
> package is in the orphanage, the maintainer of the Emacsmirror makes
> an effort to merge pull requests from users."
>
> So I think you should just send a pull request here:
> https://github.com/emacsorphanage/sr-speedbar
>
> Happy to help.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-05 0:51 ` chen.mingzheng
@ 2022-07-05 1:26 ` Stefan Kangas
2022-07-05 1:59 ` chen.mingzheng
2022-07-05 6:56 ` Sebastian Rose
0 siblings, 2 replies; 13+ messages in thread
From: Stefan Kangas @ 2022-07-05 1:26 UTC (permalink / raw)
To: chen.mingzheng; +Cc: Emacs developers, Sebastian Rose
chen.mingzheng <chen.mingzheng@outlook.com> writes:
> Thanks for reply. I noticed the repo you post, but it has not updated
> for a long time. The latest changelog in
> https://github.com/emacsorphanage/sr-speedbar was 20161025, but the
> version in my .emacs.d/ is 20210922. So I guess there may be the latest
> version somewhere, however google show me little infomation about that.
Perhaps the canonical version is the one on Emacs mirror, here:
https://www.emacswiki.org/emacs/sr-speedbar.el
I've Cc:ed the maintainer in case he has anything to add.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-05 1:26 ` Stefan Kangas
@ 2022-07-05 1:59 ` chen.mingzheng
2022-07-05 6:56 ` Sebastian Rose
1 sibling, 0 replies; 13+ messages in thread
From: chen.mingzheng @ 2022-07-05 1:59 UTC (permalink / raw)
To: Stefan Kangas; +Cc: emacs-devel, sebastian_rose
I actually sent a PR to emacswiki, but its maintainer said it's not the
right place to submit a patch there. The maintainer of emacswiki doesn't
know where the repo of sr-speedbar.el either, and suggests that send a
patch to emacs-bug-report maillist. So I now get here.
For convenience, here is the link for the PR:
https://github.com/emacsmirror/emacswiki.org/pull/11
Thanks
在 2022/7/5 9:26, Stefan Kangas 写道:
> chen.mingzheng <chen.mingzheng@outlook.com> writes:
>
>> Thanks for reply. I noticed the repo you post, but it has not updated
>> for a long time. The latest changelog in
>> https://github.com/emacsorphanage/sr-speedbar was 20161025, but the
>> version in my .emacs.d/ is 20210922. So I guess there may be the latest
>> version somewhere, however google show me little infomation about that.
>
> Perhaps the canonical version is the one on Emacs mirror, here:
> https://www.emacswiki.org/emacs/sr-speedbar.el
>
> I've Cc:ed the maintainer in case he has anything to add.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-05 1:26 ` Stefan Kangas
2022-07-05 1:59 ` chen.mingzheng
@ 2022-07-05 6:56 ` Sebastian Rose
2022-07-05 9:34 ` chen.mingzheng
1 sibling, 1 reply; 13+ messages in thread
From: Sebastian Rose @ 2022-07-05 6:56 UTC (permalink / raw)
To: Stefan Kangas; +Cc: chen.mingzheng, Emacs developers
Stefan Kangas <stefan@marxist.se> writes:
> chen.mingzheng <chen.mingzheng@outlook.com> writes:
>
>> Thanks for reply. I noticed the repo you post, but it has not updated
>> for a long time. The latest changelog in
>> https://github.com/emacsorphanage/sr-speedbar was 20161025, but the
>> version in my .emacs.d/ is 20210922. So I guess there may be the latest
>> version somewhere, however google show me little infomation about that.
>
> Perhaps the canonical version is the one on Emacs mirror, here:
> https://www.emacswiki.org/emacs/sr-speedbar.el
>
> I've Cc:ed the maintainer in case he has anything to add.
Hello Chen,
there simply is no, and never has been any, repo for this little
project. I wouldn't mind if someone created one though. I just don't
want to maintain software I don't use anymore.
- Sebastian
--
As I was walking down Stanton Street early one Sunday morning, I saw a
chicken a few yards ahead of me. I was walking faster than the
chicken, so I gradually caught up. By the time we approached
Eighteenth Avenue, I was close behind. The chicken turned south on
Eighteenth. At the fourth house along, it turned in at the walk,
hopped up the front steps, and rapped sharply on the metal storm door
with its beak. After a moment, the door opened and the chicken went
in.
(Linda Elegant in "True Tales of American Life")
⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽⎽
Sebastian Rose Software Entwickler
Waldenburger Straße 2
31162 Bad Salzdetfurth
Telefon: 05063 78 14 3 17
Mobil : 0157 75 460 462 E-Mail: sebastian_rose@gmx.de
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Where is sr-speedbar.el upstream repo?
2022-07-05 6:56 ` Sebastian Rose
@ 2022-07-05 9:34 ` chen.mingzheng
2022-07-05 12:03 ` Stefan Monnier
0 siblings, 1 reply; 13+ messages in thread
From: chen.mingzheng @ 2022-07-05 9:34 UTC (permalink / raw)
To: Sebastian Rose; +Cc: emacs-devel
Hello Sebastian,
Tranks for reply. I will try to port the recent changes of
sr-speedbar.el made in [1], then send a PR to [2], and expect [2] become
the upstream repo of sr-speedbar.el for those who want to contribute
code to it.
[1]: https://www.emacswiki.org/emacs/sr-speedbar.el
[2]: https://github.com/emacsorphanage/sr-speedbar
Thanks again
在 2022/7/5 14:56, Sebastian Rose 写道:
> Stefan Kangas <stefan@marxist.se> writes:
>> chen.mingzheng <chen.mingzheng@outlook.com> writes:
>>
>>> Thanks for reply. I noticed the repo you post, but it has not updated
>>> for a long time. The latest changelog in
>>> https://github.com/emacsorphanage/sr-speedbar was 20161025, but the
>>> version in my .emacs.d/ is 20210922. So I guess there may be the latest
>>> version somewhere, however google show me little infomation about that.
>>
>> Perhaps the canonical version is the one on Emacs mirror, here:
>> https://www.emacswiki.org/emacs/sr-speedbar.el
>>
>> I've Cc:ed the maintainer in case he has anything to add.
>
> Hello Chen,
>
> there simply is no, and never has been any, repo for this little
> project. I wouldn't mind if someone created one though. I just don't
> want to maintain software I don't use anymore.
>
> - Sebastian
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2022-07-05 18:40 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04 23:21 Where is sr-speedbar.el upstream repo? chen.mingzheng
2022-07-05 0:38 ` Stefan Kangas
2022-07-05 0:51 ` chen.mingzheng
2022-07-05 1:26 ` Stefan Kangas
2022-07-05 1:59 ` chen.mingzheng
2022-07-05 6:56 ` Sebastian Rose
2022-07-05 9:34 ` chen.mingzheng
2022-07-05 12:03 ` Stefan Monnier
[not found] ` <TYCPR01MB5743F6F10A0573375954655681819@TYCPR01MB5743.jpnprd01.prod.outlook.com>
[not found] ` <jwv7d4rk5by.fsf-monnier+emacs@gnu.org>
2022-07-05 15:49 ` chen.mingzheng
2022-07-05 15:55 ` Stefan Monnier
2022-07-05 16:56 ` Lynn Winebarger
2022-07-05 18:39 ` Akib Azmain Turja
2022-07-05 18:40 ` Stefan Monnier
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.