unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21589: 24.5; contradiction in info
@ 2015-09-29 21:55 Gary
  2015-09-29 23:44 ` Glenn Morris
  2016-06-27  3:53 ` Noam Postavsky
  0 siblings, 2 replies; 5+ messages in thread
From: Gary @ 2015-09-29 21:55 UTC (permalink / raw)
  To: 21589


The info section Recursive Pattern: _accumulate_ states:

'This is very like the ‘every’ pattern using ‘cons’, except that
‘cons’ is not used, but some other combiner.'

The example link 'Making a List of Files' uses cons to accumulate a list
of files.

I realize this is a low priority minor detail but it could cause
confusion for a novice. It certainly confused me. I have looked for
whether there is somewhere else to report problems with info, also whether to delete the preamble of this email - didn't
find anything - so I've left it as it is.



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2015-04-12 on glook2
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.3 LTS

Configured using:
 `configure --prefix=/home/gary/bin/emacs245'

Important settings:
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  org-capture-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-auto-complete-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
C-h DEL is undefined
delete-backward-char: Text is read-only
Quit
byte-code: Beginning of buffer [2 times]
a is undefined
Type C-x 4 C-o RET to restore the other window.  
Type "q" in help window to restore its previous buffer.
Stored: info:eintr#Accumulate
Template key: 
Clipboard pasted as level 4 subtree

Load-path shadows:
/home/gary/.emacs.d/elpa/org-20150914/ob-mscgen hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-mscgen
/home/gary/.emacs.d/elpa/org-20150914/ox-texinfo hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-texinfo
/home/gary/.emacs.d/elpa/org-20150914/ob-screen hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-screen
/home/gary/.emacs.d/elpa/org-20150914/ob-ditaa hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-ditaa
/home/gary/.emacs.d/elpa/org-20150914/ob-haskell hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-haskell
/home/gary/.emacs.d/elpa/org-20150914/org-rmail hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-rmail
/home/gary/.emacs.d/elpa/org-20150914/org-crypt hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-crypt
/home/gary/.emacs.d/elpa/org-20150914/ob-R hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-R
/home/gary/.emacs.d/elpa/org-20150914/org-macro hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-macro
/home/gary/.emacs.d/elpa/org-20150914/org-compat hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-compat
/home/gary/.emacs.d/elpa/org-20150914/org-capture hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-capture
/home/gary/.emacs.d/elpa/org-20150914/ob-ocaml hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-ocaml
/home/gary/.emacs.d/elpa/org-20150914/ob-lilypond hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-lilypond
/home/gary/.emacs.d/elpa/org-20150914/org-timer hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-timer
/home/gary/.emacs.d/elpa/org-20150914/ox-org hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-org
/home/gary/.emacs.d/elpa/org-20150914/org-mobile hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-mobile
/home/gary/.emacs.d/elpa/org-20150914/ob-eval hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-eval
/home/gary/.emacs.d/elpa/org-20150914/ob-keys hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-keys
/home/gary/.emacs.d/elpa/org-20150914/org-pcomplete hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-pcomplete
/home/gary/.emacs.d/elpa/org-20150914/ob-scheme hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-scheme
/home/gary/.emacs.d/elpa/org-20150914/ob-scala hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-scala
/home/gary/.emacs.d/elpa/org-20150914/ox-icalendar hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-icalendar
/home/gary/.emacs.d/elpa/org-20150914/ob-exp hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-exp
/home/gary/.emacs.d/elpa/org-20150914/org-element hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-element
/home/gary/.emacs.d/elpa/org-20150914/org-gnus hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-gnus
/home/gary/.emacs.d/elpa/org-20150914/ob-latex hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-latex
/home/gary/.emacs.d/elpa/org-20150914/org-entities hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-entities
/home/gary/.emacs.d/elpa/org-20150914/ob-plantuml hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-plantuml
/home/gary/.emacs.d/elpa/org-20150914/ox-odt hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-odt
/home/gary/.emacs.d/elpa/org-20150914/ob-emacs-lisp hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-emacs-lisp
/home/gary/.emacs.d/elpa/org-20150914/ob-core hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-core
/home/gary/.emacs.d/elpa/org-20150914/org-mouse hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-mouse
/home/gary/.emacs.d/elpa/org-20150914/ob-fortran hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-fortran
/home/gary/.emacs.d/elpa/org-20150914/org-faces hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-faces
/home/gary/.emacs.d/elpa/org-20150914/ob-io hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-io
/home/gary/.emacs.d/elpa/org-20150914/org-irc hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-irc
/home/gary/.emacs.d/elpa/org-20150914/org-bibtex hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-bibtex
/home/gary/.emacs.d/elpa/org-20150914/org-archive hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-archive
/home/gary/.emacs.d/elpa/org-20150914/ob-clojure hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-clojure
/home/gary/.emacs.d/elpa/org-20150914/ox hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox
/home/gary/.emacs.d/elpa/org-20150914/ox-latex hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-latex
/home/gary/.emacs.d/elpa/org-20150914/org-habit hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-habit
/home/gary/.emacs.d/elpa/org-20150914/org-inlinetask hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-inlinetask
/home/gary/.emacs.d/elpa/org-20150914/org-protocol hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-protocol
/home/gary/.emacs.d/elpa/org-20150914/org-info hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-info
/home/gary/.emacs.d/elpa/org-20150914/org-attach hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-attach
/home/gary/.emacs.d/elpa/org-20150914/ox-publish hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-publish
/home/gary/.emacs.d/elpa/org-20150914/org-install hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-install
/home/gary/.emacs.d/elpa/org-20150914/ob-ledger hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-ledger
/home/gary/.emacs.d/elpa/org-20150914/ob-C hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-C
/home/gary/.emacs.d/elpa/org-20150914/ob-perl hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-perl
/home/gary/.emacs.d/elpa/org-20150914/ob-ruby hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-ruby
/home/gary/.emacs.d/elpa/org-20150914/ob-maxima hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-maxima
/home/gary/.emacs.d/elpa/org-20150914/org hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org
/home/gary/.emacs.d/elpa/org-20150914/ob-org hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-org
/home/gary/.emacs.d/elpa/org-20150914/ob-octave hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-octave
/home/gary/.emacs.d/elpa/org-20150914/ob-picolisp hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-picolisp
/home/gary/.emacs.d/elpa/org-20150914/ox-md hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-md
/home/gary/.emacs.d/elpa/org-20150914/ob-sqlite hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-sqlite
/home/gary/.emacs.d/elpa/org-20150914/ob-matlab hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-matlab
/home/gary/.emacs.d/elpa/org-20150914/ob-awk hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-awk
/home/gary/.emacs.d/elpa/org-20150914/ob-lob hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-lob
/home/gary/.emacs.d/elpa/org-20150914/ob-dot hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-dot
/home/gary/.emacs.d/elpa/org-20150914/ob-shen hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-shen
/home/gary/.emacs.d/elpa/org-20150914/org-datetree hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-datetree
/home/gary/.emacs.d/elpa/org-20150914/ob-tangle hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-tangle
/home/gary/.emacs.d/elpa/org-20150914/ob-asymptote hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-asymptote
/home/gary/.emacs.d/elpa/org-20150914/org-bbdb hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-bbdb
/home/gary/.emacs.d/elpa/org-20150914/org-docview hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-docview
/home/gary/.emacs.d/elpa/org-20150914/ob-calc hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-calc
/home/gary/.emacs.d/elpa/org-20150914/ob-makefile hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-makefile
/home/gary/.emacs.d/elpa/org-20150914/ob hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob
/home/gary/.emacs.d/elpa/org-20150914/org-loaddefs hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-loaddefs
/home/gary/.emacs.d/elpa/org-20150914/ob-java hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-java
/home/gary/.emacs.d/elpa/org-20150914/org-feed hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-feed
/home/gary/.emacs.d/elpa/org-20150914/ox-beamer hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-beamer
/home/gary/.emacs.d/elpa/org-20150914/ox-ascii hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-ascii
/home/gary/.emacs.d/elpa/org-20150914/ob-js hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-js
/home/gary/.emacs.d/elpa/org-20150914/org-indent hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-indent
/home/gary/.emacs.d/elpa/org-20150914/org-eshell hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-eshell
/home/gary/.emacs.d/elpa/org-20150914/ob-ref hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-ref
/home/gary/.emacs.d/elpa/org-20150914/ob-python hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-python
/home/gary/.emacs.d/elpa/org-20150914/org-ctags hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-ctags
/home/gary/.emacs.d/elpa/org-20150914/org-version hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-version
/home/gary/.emacs.d/elpa/org-20150914/ox-man hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-man
/home/gary/.emacs.d/elpa/org-20150914/org-agenda hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-agenda
/home/gary/.emacs.d/elpa/org-20150914/ob-gnuplot hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-gnuplot
/home/gary/.emacs.d/elpa/org-20150914/ox-html hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ox-html
/home/gary/.emacs.d/elpa/org-20150914/org-colview hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-colview
/home/gary/.emacs.d/elpa/org-20150914/ob-comint hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-comint
/home/gary/.emacs.d/elpa/org-20150914/org-id hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-id
/home/gary/.emacs.d/elpa/org-20150914/org-list hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-list
/home/gary/.emacs.d/elpa/org-20150914/ob-css hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-css
/home/gary/.emacs.d/elpa/org-20150914/org-macs hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-macs
/home/gary/.emacs.d/elpa/org-20150914/org-plot hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-plot
/home/gary/.emacs.d/elpa/org-20150914/org-footnote hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-footnote
/home/gary/.emacs.d/elpa/org-20150914/org-mhe hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-mhe
/home/gary/.emacs.d/elpa/org-20150914/ob-sql hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-sql
/home/gary/.emacs.d/elpa/org-20150914/org-clock hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-clock
/home/gary/.emacs.d/elpa/org-20150914/ob-table hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-table
/home/gary/.emacs.d/elpa/org-20150914/org-src hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-src
/home/gary/.emacs.d/elpa/org-20150914/org-table hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-table
/home/gary/.emacs.d/elpa/org-20150914/ob-sass hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-sass
/home/gary/.emacs.d/elpa/org-20150914/ob-lisp hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/ob-lisp
/home/gary/.emacs.d/elpa/org-20150914/org-w3m hides /home/gary/bin/emacs245/share/emacs/24.5/lisp/org/org-w3m

Features:
(shadow sort mail-extr emacsbug sendmail cus-edit battery time paren
cua-base cus-start cus-load apropos bookmark pp tabify org-datetree
org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view
jka-compr image-mode dired org-bibtex bibtex org-bbdb org-element
avl-tree org-w3m org-capture flymake compile desktop frameset cl-extra
yasnippet help-mode auto-complete-config auto-complete popup org edmacro
kmacro derived org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-src easy-mmode ob-keys
ob-comint comint ansi-color ring ob-core ob-eval org-compat advice
org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs gnus-sum
nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec
gnus-int gnus-range message cl-macs format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit cl gv
cl-loaddefs cl-lib wombat-theme info easymenu package epg-config
time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

Memory information:
((conses 16 436183 69011)
 (symbols 48 37293 0)
 (miscs 40 613 1163)
 (strings 32 74472 10902)
 (string-bytes 1 2383968)
 (vectors 16 32543)
 (vector-slots 8 1388468 51756)
 (floats 8 621 1219)
 (intervals 56 2453 132)
 (buffers 960 29)
 (heap 1024 46906 2890))





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

* bug#21589: 24.5; contradiction in info
  2015-09-29 21:55 bug#21589: 24.5; contradiction in info Gary
@ 2015-09-29 23:44 ` Glenn Morris
  2015-09-30 13:07   ` Gary
  2016-06-27  3:53 ` Noam Postavsky
  1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2015-09-29 23:44 UTC (permalink / raw)
  To: Gary; +Cc: 21589

Gary wrote:

> The info section Recursive Pattern: _accumulate_ states:
>
> 'This is very like the 'every' pattern using 'cons', except that
> 'cons' is not used, but some other combiner.'
>
> The example link 'Making a List of Files' uses cons to accumulate a list
> of files.

The recursive function call (which is what the section "Recursive
Patterns" is about) in files-in-below-directory uses "append", not cons.
cons happens to be used elsewhere in the function. It says right before
the files-in-below-directory definition that it uses "append".
So personally speaking I don't find it confusing.





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

* bug#21589: 24.5; contradiction in info
  2015-09-29 23:44 ` Glenn Morris
@ 2015-09-30 13:07   ` Gary
  0 siblings, 0 replies; 5+ messages in thread
From: Gary @ 2015-09-30 13:07 UTC (permalink / raw)
  To: Glenn Morris, 21589

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

Hi Glenn

thanks for your quick reply.  I see what you mean, the append is further 
down and I was looking at the code following this comment where it says 
'append' (line 3 below) and then uses cons (line 6). On the other hand 
being a new user, I NEED to read the manual whereas I'm guessing you 
don't. :)

cheers

Gary

  (cond
             ;; check to see whether filename ends in `.el'
             ;; and if so, append its name to a list.
             ((equal ".el" (substring (car (car current-directory-list)) 
-3))
              (setq el-files-list
                    (cons (car (car current-directory-list)) 
el-files-list)))
             ;; check whether filename is that of a directory
             ((eq t (car (cdr (car current-directory-list))))
              ;; decide whether to skip or recurse

On 30/09/15 00:44, Glenn Morris wrote:
> Gary wrote:
>
>> The info section Recursive Pattern: _accumulate_ states:
>>
>> 'This is very like the 'every' pattern using 'cons', except that
>> 'cons' is not used, but some other combiner.'
>>
>> The example link 'Making a List of Files' uses cons to accumulate a list
>> of files.
> The recursive function call (which is what the section "Recursive
> Patterns" is about) in files-in-below-directory uses "append", not cons.
> cons happens to be used elsewhere in the function. It says right before
> the files-in-below-directory definition that it uses "append".
> So personally speaking I don't find it confusing.
>


[-- Attachment #2: Type: text/html, Size: 2121 bytes --]

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

* bug#21589: 24.5; contradiction in info
  2015-09-29 21:55 bug#21589: 24.5; contradiction in info Gary
  2015-09-29 23:44 ` Glenn Morris
@ 2016-06-27  3:53 ` Noam Postavsky
  2016-07-29  0:10   ` npostavs
  1 sibling, 1 reply; 5+ messages in thread
From: Noam Postavsky @ 2016-06-27  3:53 UTC (permalink / raw)
  To: 21589; +Cc: Gary

> thanks for your quick reply.  I see what you mean, the append is
> further down and I was looking at the code following this comment
> where it says 'append' (line 3 below) and then uses cons (line 6).

So it seems like the problem is just that the comment is wrong?
(clearly that not code is not appending, the new item is being added
at the front)

diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index 10162b3..86c8da0 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -15465,7 +15465,7 @@ Files List
 @group
       (cond
        ;; check to see whether filename ends in '.el'
-       ;; and if so, append its name to a list.
+       ;; and if so, add its name to a list.
        ((equal ".el" (substring (car (car current-directory-list)) -3))
         (setq el-files-list
               (cons (car (car current-directory-list)) el-files-list)))





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

* bug#21589: 24.5; contradiction in info
  2016-06-27  3:53 ` Noam Postavsky
@ 2016-07-29  0:10   ` npostavs
  0 siblings, 0 replies; 5+ messages in thread
From: npostavs @ 2016-07-29  0:10 UTC (permalink / raw)
  To: 21589; +Cc: Gary

tags 21589 fixed
close 21589 25.1
quit

Noam Postavsky <npostavs@users.sourceforge.net> writes:

>> thanks for your quick reply.  I see what you mean, the append is
>> further down and I was looking at the code following this comment
>> where it says 'append' (line 3 below) and then uses cons (line 6).
>
> So it seems like the problem is just that the comment is wrong?

I will assume yes, fixed in b443c3c7.





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

end of thread, other threads:[~2016-07-29  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 21:55 bug#21589: 24.5; contradiction in info Gary
2015-09-29 23:44 ` Glenn Morris
2015-09-30 13:07   ` Gary
2016-06-27  3:53 ` Noam Postavsky
2016-07-29  0:10   ` npostavs

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).