-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/auth source pass #1
Conversation
The changes all look good to me. We'll keep our work here until @DamienCassou gets write access. Regarding the documentation change f6e4aa8 it looks good. Regarding the question about why we don't call |
@tzz what else needs to be done to keep going? |
I was waiting for the copyright assignments and for your write access to the Emacs repo. If you want to proceed without those, I'll push this into the Emacs repo branch I created. I'll definitely squash at the end (before merging to Emacs), but if you want to squash now before I merge, go ahead. |
2a110fe
to
fcc5f2a
Compare
I've sent the updated one a few days ago.
I still don't have it but we can carry on.
Great, thanks.
I squashed the commits related to auth-source-pass. |
* lisp/auth-source-pass.el: auth-source backend for password-store. * test/lisp/auth-source-pass-tests.el: Tests for auth-source-pass behavior.
fcc5f2a
to
42f8006
Compare
I've just:
|
What is the status of this? |
Sorry for the long silence. I think this is good to merge. I'll ask for comments on emacs-devel and wait a day. |
@DamienCassou @foudfou can you please consider writing docs? If not I'll do it. |
Oh, one more thing: I have to rewrite the commit messages to fit the Emacs requirements. I'll do that when I rebase the commits. @foudfou can you give me your preferred name and e-mail address? As you have it in the current commit message it's a bit weird and it needs to match up with your copyright assignment. |
@tzz: do you need anything beyond what is in the README? https://github.com/DamienCassou/auth-password-store/blob/master/README.md. |
@DamienCassou I was hoping you'd update the manual ( Noam Postavsky had some small code comments in emacs-devel: https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00788.html Do you want to reply on the mailing list or here? |
I understand that. My question was more: do you want me to migrate what's in the README only or is there more you'd like me to write?
I will take care of them.
I will fix this PR. |
@DamienCassou if you can take the README and add that to the auth-source manual, I would be very grateful. I don't think more is needed. Thank you for your kind help. |
@tzz I took care of all feedback and enriched the Auth info node. I did the commits in a way you can check all fixes I applied. Feel free to squash everything you need. Also, I know nothing about the texi format: please double check everything. Thanks |
doc/misc/auth.texi
Outdated
|
||
Here are configurations depending on your answers: | ||
|
||
@multitable {111} {222} {333} {configuration configuration configuration} | ||
@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration | ||
@item Yes @tab Yes @tab Yes @tab Set up gpg-agent. | ||
@item Yes @tab Yes @tab No @tab You can't, without gpg-agent. | ||
@item Yes @tab Yes @tab No @tab You can't, without gpg-agenz. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
Noam Postavsky <notifications@github.com> writes:
***@***.*** Yes @tab Yes @tab No @tab You can't, without gpg-agent.
***@***.*** Yes @tab Yes @tab No @tab You can't, without gpg-agenz.
fixed, thanks.
…--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
|
Looks good to me. |
The recent changes to src/casefiddle.c cause build failure as seen below: Starting program: /home/npostavs/src/emacs/emacs-bootstrapping/src/temacs --batch --load loadup bootstrap [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Loading loadup.el (source)... Using load-path (/home/npostavs/src/emacs/emacs-bootstrapping/lisp /home/npostavs/src/emacs/emacs-bootstrapping/lisp/emacs-lisp /home/npostavs/src/emacs/emacs-bootstrapping/lisp/language /home/npostavs/src/emacs/emacs-bootstrapping/lisp/international /home/npostavs/src/emacs/emacs-bootstrapping/lisp/textmodes /home/npostavs/src/emacs/emacs-bootstrapping/lisp/vc) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading international/mule (source)... Loading international/mule-conf (source)... lread.c:3914: Emacs fatal error: assertion failed: !NILP (Vpurify_flag) Breakpoint 1, terminate_due_to_signal at emacs.c:363 363 signal (sig, SIG_DFL); (gdb) bt #0 0x0000000000579826 in terminate_due_to_signal at emacs.c:363 #1 0x000000000060ec33 in die at alloc.c:7352 emacs-mirror#2 0x000000000066db40 in intern_c_string_1 at lread.c:3914 emacs-mirror#3 0x0000000000576884 in intern_c_string at lisp.h:3790 emacs-mirror#4 0x00000000005dc84f in prepare_casing_context at casefiddle.c:69 emacs-mirror#5 0x00000000005dd37f in casify_object at casefiddle.c:311 emacs-mirror#6 0x00000000005dd47f in Fcapitalize at casefiddle.c:356 emacs-mirror#7 0x00000000006325ac in eval_sub at eval.c:2219 emacs-mirror#8 0x0000000000632368 in eval_sub at eval.c:2184 emacs-mirror#9 0x000000000063446c in apply_lambda at eval.c:2875 emacs-mirror#10 0x00000000006329af in eval_sub at eval.c:2294 emacs-mirror#11 0x000000000062d462 in Fprogn at eval.c:449 emacs-mirror#12 0x000000000062d4cf in prog_ignore at eval.c:461 emacs-mirror#13 0x000000000062f19c in Fwhile at eval.c:982 emacs-mirror#14 0x00000000006321f4 in eval_sub at eval.c:2172 emacs-mirror#15 0x000000000062d462 in Fprogn at eval.c:449 emacs-mirror#16 0x000000000062f0c4 in Flet at eval.c:963 emacs-mirror#17 0x00000000006321f4 in eval_sub at eval.c:2172 emacs-mirror#18 0x0000000000632963 in eval_sub at eval.c:2290 emacs-mirror#19 0x000000000062d462 in Fprogn at eval.c:449 emacs-mirror#20 0x000000000062f0c4 in Flet at eval.c:963 emacs-mirror#21 0x00000000006321f4 in eval_sub at eval.c:2172 emacs-mirror#22 0x0000000000668caa in readevalloop at lread.c:1927 emacs-mirror#23 0x0000000000667253 in Fload at lread.c:1332 emacs-mirror#24 0x0000000000632683 in eval_sub at eval.c:2233 emacs-mirror#25 0x0000000000668caa in readevalloop at lread.c:1927 emacs-mirror#26 0x0000000000667253 in Fload at lread.c:1332 emacs-mirror#27 0x0000000000632683 in eval_sub at eval.c:2233 emacs-mirror#28 0x0000000000631be5 in Feval at eval.c:2041 emacs-mirror#29 0x000000000057e1af in top_level_2 at keyboard.c:1121 emacs-mirror#30 0x000000000062ffc7 in internal_condition_case at eval.c:1324 emacs-mirror#31 0x000000000057e1f0 in top_level_1 at keyboard.c:1129 emacs-mirror#32 0x000000000062f51e in internal_catch at eval.c:1091 emacs-mirror#33 0x000000000057e0ea in command_loop at keyboard.c:1090 emacs-mirror#34 0x000000000057d6d5 in recursive_edit_1 at keyboard.c:697 emacs-mirror#35 0x000000000057d8b4 in Frecursive_edit at keyboard.c:768 emacs-mirror#36 0x000000000057b55b in main at emacs.c:1687 Lisp Backtrace: "capitalize" (0xffffcf70) "format" (0xffffd130) "define-charset" (0xffffd370) "while" (0xffffd560) "let" (0xffffd7c0) "dolist" (0xffffd910) "let" (0xffffdb70) "load" (0xffffdfe0) "load" (0xffffe4a0) * src/casefiddle.c (syms_of_casefiddle): Declare four new symbols: Qtitlecase, Qspecial_uppercase, Qspecial_lowercase and Qspecial_titlecase. (prepare_casing_context): Use aforementioned symbols.
@DamienCassou sorry for the delay, had a crazy couple of weeks. I'll work on this ASAP. |
@DamienCassou @foudfou I pushed the changes to the emacs.git repo in |
This is now merged into emacs.git (rebased and squashed) so this PR can be closed, I think. |
Thank you very much @tzz. |
* lisp/ses.el (ses-sym-rowcol): Check that the renamed cell hashmap has been instantiated before getting data from it. When editing several spreadsheets, and you have spreadsheet #1 with a cell named `foo', and no renamed cell in spreadsheet emacs-mirror#2, then if you make a formula with `foo' in spreadsheet emacs-mirror#2, not doing this check will make an error. (ses-cell-set-formula): Robustify versus incorrect cell references given in the user provided formula. An explicit error message is provided after the action when the user gives an incorrect cell reference, but the formula edition is not changed. This means that if the incorrect reference is to a cell that is created someday, then this new cell will not have the edited cell in its reference list. Fixing this can still be done by editing again the first cell formula. (ses-relocate-symbol): Do not create symbol of referred-to cell when this is a renamed cell.
No description provided.