unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error
@ 2016-03-26  0:21 Dmitry Gutov
  2021-02-07 13:58 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Gutov @ 2016-03-26  0:21 UTC (permalink / raw)
  To: 23117

1. (setq pcomplete-ignore-case t)
2. Keep completion-ignore-case at its default nil value.
3. M-x shell
3. Type 'cd /Usr/', press C-M-i.
4. See the below error.

Should the former variable just be made into an alias for the latter one?

Debugger entered--Lisp error: (error "Internal error: usr/games/ doesn’t match \\`Usr\\(.*?\\)/")
  signal(error ("Internal error: usr/games/ doesn’t match \\`Usr\\(.*?\\)/"))
  error("Internal error: %s doesn't match %s" "usr/games/" "\\`Usr\\(.*?\\)/")
  completion-pcm--merge-completions(("usr/games/" "usr/./" "usr/lib/" "usr/local/" "usr/../" "usr/bin/" "usr/share/" "usr/X11R6/" "usr/src/" "usr/locale/" "usr/include/" "usr/lib32/" "usr/sbin/") (#("Usr" 0 3 (fontified t)) any "/"))
  completion-pcm--merge-try((#("Usr" 0 3 (fontified t)) any "/") ("usr/games/" "usr/./" "usr/lib/" "usr/local/" "usr/../" "usr/bin/" "usr/share/" "usr/X11R6/" "usr/src/" "usr/locale/" "usr/include/" "usr/lib32/" "usr/sbin/") #("/" 0 1 (fontified t)) "")
  completion-pcm-try-completion(#("/Usr/" 0 5 (fontified t)) #[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] nil 5)
  #[257 "\300.\r\2368\301\242\302\242\303\304\242$\207" [1 (#("/Usr/" 0 5 (fontified t))) (#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"]) nil (5) completion-styles-alist] 6 "\n\n(fn STYLE)"](partial-completion)
  completion--some(#[257 "\300.\r\2368\301\242\302\242\303\304\242$\207" [1 (#("/Usr/" 0 5 (fontified t))) (#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"]) nil (5) completion-styles-alist] 6 "\n\n(fn STYLE)"] (basic partial-completion emacs22))
  completion--nth-completion(1 #("/Usr/" 0 5 (fontified t)) #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil 5 (metadata (cycle-sort-function . #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"]) (category . file) (completion--unquote-requote . t)))
  completion-try-completion(#("/Usr/" 0 5 (fontified t)) #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil 5 (metadata (cycle-sort-function . #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"]) (category . file) (completion--unquote-requote . t)))
  completion--do-completion(#<marker at 26 in *shell*> 31)
  completion--in-region-1(#<marker at 26 in *shell*> 31)
  #[1028 ".\x01.\x19\n\203!.\304.!\203.\0.\202.\0\305.!\305.\306\".\x03F.\307\310!\210\311.\x04\"*\207" [minibuffer-completion-predicate minibuffer-completion-table completion-in-region-mode-predicate completion-in-region--data markerp copy-marker t completion-in-region-mode 1 completion--in-region-1] 8 "\n\n(fn START END COLLECTION PREDICATE)"](#<marker at 26 in *shell*> 31 #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil)
  apply(#[1028 ".\x01.\x19\n\203!.\304.!\203.\0.\202.\0\305.!\305.\306\".\x03F.\307\310!\210\311.\x04\"*\207" [minibuffer-completion-predicate minibuffer-completion-table completion-in-region-mode-predicate completion-in-region--data markerp copy-marker t completion-in-region-mode 1 completion--in-region-1] 8 "\n\n(fn START END COLLECTION PREDICATE)"] (#<marker at 26 in *shell*> 31 #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil))
  #[771 ".:\2030.\x02@\301=\203.\0\300\242\302.\x05A\"\303.#\207\304.@\305\306\307\310\311\312\300!\313\"\314\315%.\x06A.\x06#.#\207\304\316.\"\207" [(#0) t append nil apply apply-partially make-byte-code 642 "\300\242.\x03.#\207" vconcat vector [] 7 "\n\n(fn FUNS GLOBAL &rest ARGS)" #[1028 ".\x01.\x19\n\203!.\304.!\203.\0.\202.\0\305.!\305.\306\".\x03F.\307\310!\210\311.\x04\"*\207" [minibuffer-completion-predicate minibuffer-completion-table completion-in-region-mode-predicate completion-in-region--data markerp copy-marker t completion-in-region-mode 1 completion--in-region-1] 8 "\n\n(fn START END COLLECTION PREDICATE)"]] 12 "\n\n(fn FUNS GLOBAL ARGS)"](nil nil (#<marker at 26 in *shell*> 31 #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil))
  completion--in-region(#<marker at 26 in *shell*> 31 #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil)
  completion-in-region(#<marker at 26 in *shell*> 31 #[771 "\301?.\303.\300.\x05$)\207" [#[771 "\211\303=\203.\0\304\305.\300.#\306\"\207\211\307=\203.\0\301.!\310.\300.#\207\211\242\311=\203\x7f.\301.!.A\211G\312U\2035.\x01\202:.\301.\x02P!\313.\x02\"\204E.\314\315!\210\316.\x04G\316O\317.\300.	.$\302.@.\n\"@.A\312U\203d.\312\202y.\x01A.\aG\\\302.\x06\f.	P\"@.\vGZ\262.\311.\x02BB\207\211\316=\203\241.\301.!\320.\300.#\211;\204\226.\211\202\240.\321.\x03.\312\301\302&.@\207\211\322=\203\317.\301.!\323.\300.#\317.\300.\x06\324$@\325.\x06.\x04.\301\302&.\326.!\211:\203\315.\211\316\241\210.\207\211\327=\205).\x01\301.!\301.\312.O!\313.\x03\"\203\353.\211G\202.\x01\301.\x06.\316O!\330.\x04\"\203.\x01.G.GZ\202.\x01.G.G^.G.GZ\312]\\\331\245\262.\x02\300.\332\333\334\335\336\301\302.\x10.\r$\337\"\340\341%F\266\204\207" [#[771 "\302.G\303	.\x06\"\203).\x04\304\305\224O.B\262.\306\307\310.\a\"!.B\262.\x04\305\225\302O\262.\202.\0.\203:.\x02\311=\204O.\x02\242\312=\204O.\313\314.\x06.B\237\315#\316.\300.\x06\b$\262.\202\307.\317\320\321\322.\"\"\313\314.\a.B\237\315#\323.\300.\b.\b\243\206k.\315$\211@.Y\203\223.\x05\311=\203\204.\316.\x06\300.\x06\n$\202\305.\312.@.\x04GZ\\.ABB\202\305.\x05\311=\203\272.\316.\x06\300.\x06\n$.\x02@Z\321\324\325\326\327\330.\x06!\331\"\332\333%.\"\266\202\202\305.\312.\x05.GZ\\.ABB\266\203\207" [#[771 "\211\305=\203.\0	\203.\0\305\306\307B\310.\x05.#ABB\207\311\n.\x1c\312\313\300\314.\x06.\x06.\x06&.*\207" [file-directory-p pcomplete-compare-entry-function pcomplete-ignore-case completion-ignore-case completion-ignored-extensions metadata cycle-sort-function #[257 "\301.\b\"\207" [pcomplete-compare-entry-function sort] 4 "\n\n(fn COMPS)"] completion-file-name-table nil completion-table-with-predicate comint-completion-file-name-table strict] 10 "\n\n(fn S P A)"] pcomplete--env-regexp nil string-match 0 1 getenv match-string 2 t boundaries mapconcat identity "" complete-with-action apply + mapcar length completion-boundaries make-byte-code 257 "\211\300\301O\207" vconcat vector [nil] 4 "\n\n(fn S)"] 17 "\n\n(fn STRING PRED ACTION)"] comint--unquote-argument comint--requote-argument metadata append completion-metadata ((completion--unquote-requote . t)) lambda test-completion boundaries 0 string-prefix-p cl--assertion-failed (string-prefix-p ustring ufull) nil completion-boundaries try-completion completion--twq-try t all-completions "" completion--twq-all last completion--unquote string-suffix-p 2 make-byte-code 514 "\211\304=\203.\0.\242;\204.\0.\207\305\302\303.@.A\300\301&.\207\211\306=\203<.\307.!\211A\206).\310.\205;.\x01\311\241\210\312\302\303.\x06.\300\301&.\207\311\207" vconcat vector [1 completion--twq-try 2 last 0 nil completion--twq-all] 11 "\n\n(fn UNQUOTED-RESULT OP)"] 19 "\n\n(fn STRING PRED ACTION)"] nil completion-ignore-case complete-with-action] 8 "\n\n(fn STRING PRED ACTION)"] nil)
  completion-at-point()
  complete-symbol(nil)
  funcall-interactively(complete-symbol nil)
  call-interactively(complete-symbol nil nil)
  command-execute(complete-symbol)


In GNU Emacs 25.0.92.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7)
 of 2016-03-20 built on axl
Repository revision: 26f9c5075ff273013418a66b70fae477301d41d5
Windowing system distributor 'The X.Org Foundation', version 11.0.11702000
System Description:	Ubuntu 15.10





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

* bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error
  2016-03-26  0:21 bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error Dmitry Gutov
@ 2021-02-07 13:58 ` Lars Ingebrigtsen
  2021-02-08 22:08   ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-07 13:58 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 23117, Stefan Monnier

Dmitry Gutov <dgutov@yandex.ru> writes:

> 1. (setq pcomplete-ignore-case t)
> 2. Keep completion-ignore-case at its default nil value.
> 3. M-x shell
> 3. Type 'cd /Usr/', press C-M-i.
> 4. See the below error.
>
> Should the former variable just be made into an alias for the latter one?
>
> Debugger entered--Lisp error: (error "Internal error: usr/games/ doesn’t match \\`Usr\\(.*?\\)/")

This is still the case in Emacs 28, so the question remains, I guess --
should one of them be made into an alias for the other, and in that
case, which one should be the alias?

Stefan M added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error
  2021-02-07 13:58 ` Lars Ingebrigtsen
@ 2021-02-08 22:08   ` Stefan Monnier
  2021-02-09  8:24     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2021-02-08 22:08 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 23117, Dmitry Gutov

>> 1. (setq pcomplete-ignore-case t)
>> 2. Keep completion-ignore-case at its default nil value.
>> 3. M-x shell
>> 3. Type 'cd /Usr/', press C-M-i.
>> 4. See the below error.
>>
>> Should the former variable just be made into an alias for the latter one?
>>
>> Debugger entered--Lisp error: (error "Internal error: usr/games/ doesn’t match \\`Usr\\(.*?\\)/")
>
> This is still the case in Emacs 28, so the question remains, I guess --
> should one of them be made into an alias for the other,

That would be nice, yes.

> and in that case, which one should be the alias?

`pcomplete-ignore-case` fundamentally belongs to the pcomplete UI which
is considered obsolete, so I'd make that an alias for the
core variable `completion-ignore-case`.


        Stefan






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

* bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error
  2021-02-08 22:08   ` Stefan Monnier
@ 2021-02-09  8:24     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-09  8:24 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 23117, Dmitry Gutov

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

> `pcomplete-ignore-case` fundamentally belongs to the pcomplete UI which
> is considered obsolete, so I'd make that an alias for the
> core variable `completion-ignore-case`.

OK; now done.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-02-09  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-26  0:21 bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error Dmitry Gutov
2021-02-07 13:58 ` Lars Ingebrigtsen
2021-02-08 22:08   ` Stefan Monnier
2021-02-09  8:24     ` Lars Ingebrigtsen

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

	https://git.savannah.gnu.org/cgit/emacs.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).