guix/guix
Ludovic Courtès 0a37921d85
read-print: Correctly handle comments that follow a list head.
Fixes <https://issues.guix.gnu.org/61013>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/read-print.scm (pretty-print-with-comments)[starts-with-line-comment?]:
New procedure.
Use it when printing a list.
* tests/read-print.scm: Add two tests.
2023-03-07 11:39:50 +01:00
..
build build: haskell-build-system: Build static executables by default. 2023-02-26 10:26:16 +01:00
build-system build-system/guile: Expose #:scheme-file-regexp when cross-compiling 2023-03-06 14:58:58 +01:00
import import: haskell: Add new internal library for GHC 9.2. 2023-02-26 10:20:14 +01:00
platforms
scripts scripts: environment: Fix ordering issue with CWD and --expose. 2023-03-06 21:18:57 -05:00
store deduplicate: Use 'sendfile' only with file ports. 2022-12-10 18:13:39 +01:00
tests
android-repo-download.scm
avahi.scm
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm status: Print a hint when a 'package-cache' hook fails to build. 2023-02-11 00:09:40 +01:00
ci.scm ci: Add 'start-time' and 'stop-time' to <build> records. 2022-10-20 23:07:37 +02:00
colors.scm
combinators.scm
config.scm.in
cpio.scm cpio: Properly handle Unicode characters in file names. 2023-02-25 14:50:33 -05:00
cpu.scm
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm
derivations.scm derivations: 'read-derivation' correctly handles case with empty hash. 2023-01-09 17:40:53 +01:00
describe.scm
diagnostics.scm
discovery.scm
docker.scm
download.scm download: Add bordeaux.guix.gnu.org as a content addressed mirror. 2023-02-11 20:34:22 +00:00
elf.scm
ftp-client.scm
gexp.scm gexp: computed-file: Do not honor %guile-for-build. 2023-02-27 15:54:09 +01:00
git-authenticate.scm
git-download.scm git-download: Apply Git attributes on checkouts coming from SWH. 2023-03-03 12:28:22 +01:00
git.scm git: Make better use of the better progress bar. 2023-02-19 01:00:06 +01:00
glob.scm
gnu-maintenance.scm gnu-maintenance: 'gnu' and 'gnu-ftp' predicates catch networking errors. 2023-01-08 16:11:45 +01:00
gnupg.scm
grafts.scm grafts: Run with a UTF-8 locale. 2022-11-11 23:17:42 +01:00
graph.js
graph.scm
hash.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm inferior: Use 'spawn' on Guile 3.0.9+. 2023-01-26 11:11:18 +01:00
ipfs.scm
least-authority.scm
licenses.scm licenses: Update NPSL (nmap licence). 2023-02-12 01:00:00 +01:00
lint.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
man-db.scm
memoization.scm
modules.scm modules: Recognize #:declarative?. 2022-12-02 23:20:54 +01:00
monad-repl.scm
monads.scm
nar.scm
narinfo.scm
openpgp.scm
packages.scm guix: packages: Add type hint comment to home-page record field. 2022-12-19 15:26:41 +04:00
pki.scm pki: 'public-keys->acl' deduplicates entries. 2022-12-12 15:03:05 +01:00
platform.scm platforms: Raise an exception when no suitable platform is found. 2023-01-18 20:53:15 -05:00
profiles.scm profiles: info-dir-file: Remove install-info '--silent' option. 2022-10-27 23:34:45 -04:00
profiling.scm
progress.scm guix: Show better progress bars. 2023-02-19 10:09:15 +01:00
quirks.scm
read-print.scm read-print: Correctly handle comments that follow a list head. 2023-03-07 11:39:50 +01:00
records.scm records: match-record supports specifying a different variable name. 2022-12-27 23:53:42 +01:00
remote.scm
repl.scm
rpm.scm pack: Register extra /usr/share sub-directories as FHS. 2023-02-22 10:41:35 -05:00
scripts.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
search-paths.scm gnu: perl-extutils-pkgconfig: Support cross-compilation. 2023-03-06 21:27:06 -05:00
self.scm self: Mark the generation (guix config) as non-declarative. 2022-11-14 12:31:33 +01:00
serialization.scm
sets.scm
ssh.scm ssh: Factor out progress % calculation. 2023-02-19 01:00:06 +01:00
status.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
store.scm grafts: Move '%graft?' and related bindings to (guix store). 2022-10-22 01:46:54 +02:00
substitutes.scm substitutes: Log the failing queries. 2023-01-07 14:27:17 +01:00
svn-download.scm svn-download: Add missing exports. 2022-10-17 23:15:08 +02:00
swh.scm
tests.scm
transformations.scm transformations: Let users know when '--with-latest' has no effect. 2023-01-16 13:41:27 +01:00
ui.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
upstream.scm upstream: Allow downgrades. 2023-01-03 12:25:48 +01:00
utils.scm utils: Add target-little-endian?. 2023-02-11 00:09:40 +01:00
workers.scm